add ??? tests
authoraburford <andrew.burford@stonybrook.edu>
Fri, 6 May 2022 15:31:21 +0000 (11:31 -0400)
committeraburford <andrew.burford@stonybrook.edu>
Fri, 6 May 2022 15:31:21 +0000 (11:31 -0400)
tests/Makefile
tests/ls_test.sh [new file with mode: 0755]

index a46c15cfc09851f37906e680f2c774f3603acc3f..c37c829bd716eb371e26bdf0f5491f32f17059c6 100644 (file)
@@ -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 (executable)
index 0000000..c3b1ac5
--- /dev/null
@@ -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