mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-23 00:34:27 +01:00
Add basic check that hishtory redaction works in the self-hosting tests
This commit is contained in:
parent
67f2ed6de1
commit
215e71293d
4
.github/workflows/docker-compose-test.yml
vendored
4
.github/workflows/docker-compose-test.yml
vendored
@ -40,8 +40,10 @@ jobs:
|
||||
echo -e 'ls -Slah /\n' | zsh -is
|
||||
# Sleep to ensure there is time for it to be recorded, since recordings are async
|
||||
sleep 1
|
||||
# And check that it was recorded
|
||||
# Check that it was recorded
|
||||
./hishtory export | grep "ls -Slah /"
|
||||
# Check that we can redact it
|
||||
yes | ./hishtory redact ls Slah
|
||||
# Assert that the entry is syncing properly
|
||||
./hishtory status -v | grep 'Sync Status: Synced'
|
||||
# - name: Setup tmate session
|
||||
|
Loading…
Reference in New Issue
Block a user