mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-18 03:20:53 +01:00
Update docker compose test to ensure that the redaction worked
This commit is contained in:
parent
1a04213f11
commit
4202e057ef
2
.github/workflows/docker-compose-test.yml
vendored
2
.github/workflows/docker-compose-test.yml
vendored
@ -44,6 +44,8 @@ jobs:
|
|||||||
./hishtory export | grep "ls -Slah /"
|
./hishtory export | grep "ls -Slah /"
|
||||||
# Check that we can redact it
|
# Check that we can redact it
|
||||||
HISHTORY_REDACT_FORCE=1 ./hishtory redact ls Slah
|
HISHTORY_REDACT_FORCE=1 ./hishtory redact ls Slah
|
||||||
|
# And that it was redacted
|
||||||
|
! (./hishtory export | grep "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…
Reference in New Issue
Block a user