remove errant char, some cleanup
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 8 May 2022 18:48:12 +0000 (14:48 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 8 May 2022 18:48:12 +0000 (14:48 -0400)
tests/w-racer.sh

index caa00ea58e2705f49e350061272a00ec27feb713..0bbd92f9748ed20eb04eac58ae79df5002941534 100755 (executable)
@@ -6,6 +6,9 @@
 # Users can set $SCRATCH_DEV and export it, else we default to /dev/sdb
 test -z "$SCRATCH_DEV" && SCRATCH_DEV=/dev/sdb
 
+# TODO: define TMP_DIR, SCRATCH_DIR, and LOWER_DIR, and don't hardcode them below
+# TODO: TMP_DIR shoyld be /n/tmp, ensure to "runcmd mkdir -p $TMP_DIR"
+
 function runcmd
 {
     echo "CMD: $@"
@@ -45,7 +48,7 @@ case "$lowertype" in
     tmpfs )
        runcmd umount /n/scratch
        runcmd swapoff $SCRATCH_DEV
-v      ;;
+       ;;
     nfs )
        runcmd umount /n/scratch
        runcmd exportfs -u localhost:/n/lower