From b2de9e1b18d607fd59c5bae319a8a5ad1ca5981d Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 19 Nov 2023 13:26:56 -0800 Subject: [PATCH] Fix more tests --- client/lib/goldens/testControlR-Initial | 48 +++++++++---------- .../testIntegrationWithNewDevice-tablebash | 4 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/client/lib/goldens/testControlR-Initial b/client/lib/goldens/testControlR-Initial index 6a3637f..ed32c0f 100644 --- a/client/lib/goldens/testControlR-Initial +++ b/client/lib/goldens/testControlR-Initial @@ -1,27 +1,27 @@ Search Query: > ls -┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ -│ Hostname CWD Timestamp Runtime Exit Code Command │ -│────────────────────────────────────────────────────────────────────────────────────────────────────────│ -│ localhost /tmp/ Oct 17 2022 21:43:36 PDT 3s 2 echo 'bar' & │ -│ localhost /tmp/ Oct 17 2022 21:43:31 PDT 3s 2 echo 'aaaaaa bbbb' │ -│ localhost /tmp/ Oct 17 2022 21:43:26 PDT 3s 2 ls ~/bar/ │ -│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 ls ~/foo/ │ -│ server /etc/ Oct 17 2022 21:43:16 PDT 3s 127 ls ~/ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ +┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +│ Hostname CWD Timestamp Runtime Exit Code Command │ +│────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│ +│ ghaction-runner-hostname ~/work/hishtory/hishtory Nov 19 2023 13:17:32 PST N/A 0 set -emo pipefail │ +│ localhost /tmp/ Oct 17 2022 21:43:36 PDT 3s 2 echo 'bar' & │ +│ localhost /tmp/ Oct 17 2022 21:43:31 PDT 3s 2 echo 'aaaaaa bbbb' │ +│ localhost /tmp/ Oct 17 2022 21:43:26 PDT 3s 2 ls ~/bar/ │ +│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 ls ~/foo/ │ +│ server /etc/ Oct 17 2022 21:43:16 PDT 3s 127 ls ~/ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +│ │ +└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ hiSHtory: Search your shell history • ctrl+h help \ No newline at end of file diff --git a/client/lib/goldens/testIntegrationWithNewDevice-tablebash b/client/lib/goldens/testIntegrationWithNewDevice-tablebash index a73d2b4..0fad097 100644 --- a/client/lib/goldens/testIntegrationWithNewDevice-tablebash +++ b/client/lib/goldens/testIntegrationWithNewDevice-tablebash @@ -1,8 +1,8 @@ -Hostname Exit Code Command +Hostname Exit Code Command ghaction-runner-hostname 0 hishtory config-set displayed-columns Hostname 'Exit Code' Command ghaction-runner-hostname 0 hishtory reupload ghaction-runner-hostname 0 hishtory query -localhost 2 othercomputer +localhost 2 othercomputer ghaction-runner-hostname 0 hishtory query ghaction-runner-hostname 0 echo mynewercommand ghaction-runner-hostname 0 hishtory query