mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-22 20:21:22 +02:00
Add more tests to testIntegrationWithNewDevice
This commit is contained in:
38
client/lib/goldens/testIntegrationWithNewDevice-bash
Normal file
38
client/lib/goldens/testIntegrationWithNewDevice-bash
Normal file
@@ -0,0 +1,38 @@
|
||||
set -emo pipefail
|
||||
hishtory status
|
||||
set -emo pipefail
|
||||
hishtory query
|
||||
ls /a
|
||||
ls /bar
|
||||
ls /foo
|
||||
echo foo
|
||||
echo bar
|
||||
hishtory enable
|
||||
echo thisisrecorded
|
||||
set -emo pipefail
|
||||
hishtory query
|
||||
set -emo pipefail
|
||||
hishtory query foo
|
||||
echo hello | grep complex | sed s/h/i/g; echo baz && echo "fo 'o"
|
||||
set -emo pipefail
|
||||
hishtory query complex
|
||||
set -emo pipefail
|
||||
hishtory query
|
||||
set -emo pipefail
|
||||
echo mynewcommand
|
||||
set -emo pipefail
|
||||
hishtory query
|
||||
set -emo pipefail
|
||||
hishtory query
|
||||
set -emo pipefail
|
||||
echo mynewercommand
|
||||
set -emo pipefail
|
||||
hishtory query
|
||||
othercomputer
|
||||
set -emo pipefail
|
||||
hishtory query
|
||||
set -emo pipefail
|
||||
hishtory reupload
|
||||
set -emo pipefail
|
||||
hishtory export | grep -v pipefail | grep -v '/tmp/client install'
|
||||
set -emo pipefail
|
Reference in New Issue
Block a user