From: aburford Date: Fri, 6 May 2022 15:31:21 +0000 (-0400) Subject: add ??? tests X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=ec0b5ab315966bfc988ffee95be3d09d30b9c41e;p=wrapfs-mgmt.git add ??? tests --- diff --git a/tests/Makefile b/tests/Makefile index a46c15c..c37c829 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -59,13 +59,16 @@ wtests: progs sh w-racer.sh $(OPT) nfs 60 sh w-racer.sh $(OPT) nfs 60 +ls_test: + sh ls_test.sh + wtest2: sh w-racer.sh $(OPT) ext2 30 sh w-racer.sh $(OPT) ext3 30 sh w-racer.sh $(OPT) ext4 30 - #sh w-racer.sh $(OPT) xfs 30 + sh w-racer.sh $(OPT) xfs 30 #sh w-racer.sh $(OPT) reiserfs 30 - #sh w-racer.sh $(OPT) tmpfs 30 + sh w-racer.sh $(OPT) tmpfs 30 wtest_quick: sh w-racer.sh $(OPT) ext2 5 diff --git a/tests/ls_test.sh b/tests/ls_test.sh new file mode 100755 index 0000000..c3b1ac5 --- /dev/null +++ b/tests/ls_test.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +date >> ls_test.log +while true; do ls -l /tmp/r 2>/dev/null|grep ??? >>ls_test.log;sleep 0.01;done & + +echo "ext2" >> ls_test.log +./w-racer.sh ext2 60 +echo "ext3" >> ls_test.log +./w-racer.sh ext3 60 +echo "ext4" >> ls_test.log +./w-racer.sh ext4 60 +echo "xfs" >> ls_test.log +./w-racer.sh xfs 60 +echo "tmpfs" >> ls_test.log +./w-racer.sh tmpfs 60 +echo "reiser" >> ls_test.log +w-racer.sh reiserfs 60 + +kill %1