diff options
author | Jakob Unterwurzacher | 2025-04-13 11:58:14 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2025-04-13 11:58:14 +0200 |
commit | 24a2ad252034d3b8049f90e7147de86d1d17d7c1 (patch) | |
tree | b87b5deacff2bf4bd95e5394a5f937e39bcf966c | |
parent | 4851c322d5ce06c559eed9e9f3cb0a5c2c72fd5e (diff) |
stress_tests/pingpong.bash: better comment
-rwxr-xr-x | tests/stress_tests/pingpong.bash | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/stress_tests/pingpong.bash b/tests/stress_tests/pingpong.bash index 4b8346e..d0d21b3 100755 --- a/tests/stress_tests/pingpong.bash +++ b/tests/stress_tests/pingpong.bash @@ -1,7 +1,8 @@ #!/bin/bash # # Mounts two gocryptfs filesystems, "ping" and "pong" and moves the -# linux-3.0 kernel tree back and forth between them. +# linux-3.0 kernel tree back and forth between them, checking integrity +# using md5sum. # # When called as "pingpong-rsync.bash" it uses "rsync --remove-source-files" # for moving the files, otherwise plain "mv". @@ -29,6 +30,9 @@ mkdir "$PING.mnt" "$PONG.mnt" # Just ignore unmount errors. trap "set +e ; cd /tmp; fuse-unmount -z $PING.mnt ; fuse-unmount -z $PONG.mnt ; rm -rf $PING $PONG $PING.mnt $PONG.mnt" EXIT +echo "$MYNAME: using gocryptfs at $(command -v gocryptfs)" +gocryptfs --version + gocryptfs -q -init -extpass="echo test" -scryptn=10 "$PING" gocryptfs -q -init -extpass="echo test" -scryptn=10 "$PONG" |