From: Erez Zadok Date: Sun, 8 May 2022 18:48:12 +0000 (-0400) Subject: remove errant char, some cleanup X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=4d68dae89e6ffb39dbd5a51ce95bb0b8395073fd;p=wrapfs-mgmt.git remove errant char, some cleanup --- diff --git a/tests/w-racer.sh b/tests/w-racer.sh index caa00ea..0bbd92f 100755 --- a/tests/w-racer.sh +++ b/tests/w-racer.sh @@ -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