mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-23 06:38:52 +01:00
Add goldens for isAction tquery and integration with zsh
This commit is contained in:
parent
19fbeda539
commit
153e59eff3
@ -1 +1,31 @@
|
||||
TODOOOOOOOOO
|
||||
runner@ghaction-runner-hostname:~/work/hishtory/hishtory$ source /home/runner/.bashrc
|
||||
runner@ghaction-runner-hostname:~/work/hishtory/hishtory$ hishtory tquery -pipefail
|
||||
|
||||
|
||||
|
||||
Search Query: > -pipefail
|
||||
|
||||
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│ Exit Code git_remote Command │
|
||||
│─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
|
||||
│ 0 https://github.com/ddworken/hishtory source /home/runner/.bashrc │
|
||||
│ 0 https://github.com/ddworken/hishtory hishtory config-set displayed-columns 'Exit Code' git_remote Command │
|
||||
│ 0 echo bar │
|
||||
│ 0 cd / │
|
||||
│ 0 https://github.com/ddworken/hishtory echo foo │
|
||||
│ 0 https://github.com/ddworken/hishtory hishtory config-add custom-column git_remote '(git remote -v 2>/dev/null | grep origin 1>/dev/null ) && git remote get-url origin || … │
|
||||
│ 0 echo baz │
|
||||
│ 0 cd / │
|
||||
│ 0 echo $FOOBAR world │
|
||||
│ 0 export FOOBAR='hello' │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
@ -1 +1,30 @@
|
||||
TODOOOOOOOOO
|
||||
ghaction-runner-hostname% hishtory tquery -pipefail
|
||||
|
||||
|
||||
|
||||
Search Query: > -pipefail
|
||||
|
||||
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
||||
│ Exit Code git_remote Command │
|
||||
│─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
|
||||
│ 0 https://github.com/ddworken/hishtory hishtory config-set displayed-columns 'Exit Code' git_remote Command │
|
||||
│ 0 echo bar │
|
||||
│ 0 cd / │
|
||||
│ 0 https://github.com/ddworken/hishtory echo foo │
|
||||
│ 0 https://github.com/ddworken/hishtory hishtory config-add custom-column git_remote '(git remote -v 2>/dev/null | grep origin 1>/dev/null ) && git remote get-url origin || … │
|
||||
│ 0 echo baz │
|
||||
│ 0 cd / │
|
||||
│ 0 echo $FOOBAR world │
|
||||
│ 0 export FOOBAR='hello' │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
||||
|
24
client/lib/goldens/testIntegrationWithNewDevice-tablezsh
Normal file
24
client/lib/goldens/testIntegrationWithNewDevice-tablezsh
Normal file
@ -0,0 +1,24 @@
|
||||
Hostname Exit Code Command
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 hishtory config-set displayed-columns Hostname 'Exit Code' Command
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 hishtory export | grep -v pipefail | grep -v '/tmp/client install'
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 hishtory reupload
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 hishtory query
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
localhost 2 othercomputer
|
||||
ghaction-runner-hostname 0 hishtory query
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 echo mynewercommand
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 hishtory query
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 hishtory query
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 echo mynewcommand
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
||||
ghaction-runner-hostname 0 hishtory query
|
||||
ghaction-runner-hostname 0 set -eo pipefail
|
38
client/lib/goldens/testIntegrationWithNewDevice-zsh
Normal file
38
client/lib/goldens/testIntegrationWithNewDevice-zsh
Normal file
@ -0,0 +1,38 @@
|
||||
set -eo pipefail
|
||||
hishtory status
|
||||
set -eo pipefail
|
||||
hishtory query
|
||||
ls /a
|
||||
ls /bar
|
||||
ls /foo
|
||||
echo foo
|
||||
echo bar
|
||||
hishtory enable
|
||||
echo thisisrecorded
|
||||
set -eo pipefail
|
||||
hishtory query
|
||||
set -eo pipefail
|
||||
hishtory query foo
|
||||
echo hello | grep complex | sed s/h/i/g; echo baz && echo "fo 'o"
|
||||
set -eo pipefail
|
||||
hishtory query complex
|
||||
set -eo pipefail
|
||||
hishtory query
|
||||
set -eo pipefail
|
||||
echo mynewcommand
|
||||
set -eo pipefail
|
||||
hishtory query
|
||||
set -eo pipefail
|
||||
hishtory query
|
||||
set -eo pipefail
|
||||
echo mynewercommand
|
||||
set -eo pipefail
|
||||
hishtory query
|
||||
othercomputer
|
||||
set -eo pipefail
|
||||
hishtory query
|
||||
set -eo pipefail
|
||||
hishtory reupload
|
||||
set -eo pipefail
|
||||
hishtory export | grep -v pipefail | grep -v '/tmp/client install'
|
||||
set -eo pipefail
|
Loading…
Reference in New Issue
Block a user