Skip to content

Commit

Permalink
Test_WSL_Debian_12.yml - print context in idempotency test
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay authored Oct 13, 2023
1 parent c6fa4c9 commit 98944e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Test_WSL_Debian_12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
# TODO split this command to multiple lines
# TODO also test that the first run of initPC script does change the state of home dir
# TODO - test whether the test works as expected
# TODO sync the idempotency test between linux distros (this is the most recent)
- name: The initPC script should be idempotent on ~/ directory (WIP - needs testing)
run: |
cd ~
Expand All @@ -64,4 +65,4 @@ jobs:
! -path "./x/helix/target/release/build/helix-term*" \
! -path "./x/helix/target/.rustc_info.json" \
! -name ".wget-hsts" \) -print0 |
xargs -0 -I{} bash -c 'if ! diff "$1" "/tmp/old_home/$1"; then echo "diff failed for: $1"; exit 1; fi' bash {}
xargs -0 -I{} bash -c 'if ! diff -C 3 "/tmp/old_home/$1" "$1"; then echo "diff failed for: $1"; exit 1; fi' bash {}

0 comments on commit 98944e9

Please sign in to comment.