mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-27 15:32:21 +02: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
|
echo -e 'ls -Slah /\n' | zsh -is
|
||||||
# Sleep to ensure there is time for it to be recorded, since recordings are async
|
# Sleep to ensure there is time for it to be recorded, since recordings are async
|
||||||
sleep 1
|
sleep 1
|
||||||
# And check that it was recorded
|
# Check that it was recorded
|
||||||
./hishtory export | grep "ls -Slah /"
|
./hishtory export | grep "ls -Slah /"
|
||||||
|
# Check that we can redact it
|
||||||
|
yes | ./hishtory redact ls Slah
|
||||||
# Assert that the entry is syncing properly
|
# Assert that the entry is syncing properly
|
||||||
./hishtory status -v | grep 'Sync Status: Synced'
|
./hishtory status -v | grep 'Sync Status: Synced'
|
||||||
# - name: Setup tmate session
|
# - name: Setup tmate session
|
||||||
|
Loading…
x
Reference in New Issue
Block a user