diff --git a/tests/stress_tests/fsstress-gocryptfs.bash b/tests/stress_tests/fsstress-gocryptfs.bash index 38a98ba..5f8c6dc 100755 --- a/tests/stress_tests/fsstress-gocryptfs.bash +++ b/tests/stress_tests/fsstress-gocryptfs.bash @@ -70,7 +70,7 @@ fi sleep 0.5 echo -n "Waiting for mount: " -while ! grep "$MNT fuse" /proc/self/mounts > /dev/null +while ! grep "$(basename $MNT) fuse" /proc/self/mounts > /dev/null do sleep 1 echo -n x