diff options
author | Jakob Unterwurzacher | 2020-09-18 13:27:55 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-09-18 18:31:22 +0200 |
commit | 27c92f63be68ddb2cbdf35d38a623d3d5d24c2eb (patch) | |
tree | b9a3a1f96196f230b286215655fb129eaf65d6c9 /tests/stress_tests/fsstress-gocryptfs.bash | |
parent | 95caa66e0b7e55e71aeed2a0a3160e68fd5fe595 (diff) |
fsstress-gocryptfs.bash: print loopback version & mount path
To make the used go-fuse version clear in logs,
print it on startup, similar to what we do with gocryptfs.
Diffstat (limited to 'tests/stress_tests/fsstress-gocryptfs.bash')
-rwxr-xr-x | tests/stress_tests/fsstress-gocryptfs.bash | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/stress_tests/fsstress-gocryptfs.bash b/tests/stress_tests/fsstress-gocryptfs.bash index 0104bb3..38a98ba 100755 --- a/tests/stress_tests/fsstress-gocryptfs.bash +++ b/tests/stress_tests/fsstress-gocryptfs.bash @@ -48,15 +48,16 @@ done # FS-specific compile and mount if [ $MYNAME = fsstress-loopback.bash ]; then - echo "Recompile go-fuse loopback" + echo -n "Recompile go-fuse loopback: " cd $GOPATH/src/github.com/hanwen/go-fuse/example/loopback - go build -race && go install + git describe + go build && go install $GOPATH/bin/loopback -q $MNT $DIR & disown elif [ $MYNAME = fsstress-gocryptfs.bash ]; then echo "Recompile gocryptfs" cd $GOPATH/src/github.com/rfjakob/gocryptfs - ./build.bash + ./build.bash # also prints the version $GOPATH/bin/gocryptfs -q -init -extpass "echo test" -scryptn=10 $DIR $GOPATH/bin/gocryptfs -q -extpass "echo test" -nosyslog $DIR $MNT elif [ $MYNAME = fsstress-encfs.bash ]; then @@ -74,7 +75,7 @@ do sleep 1 echo -n x done -echo " ok" +echo " ok: $MNT" # Cleanup trap trap "kill %1 ; cd / ; fuse-unmount -z $MNT ; rm -rf $DIR $MNT" EXIT |