From 4d68dae89e6ffb39dbd5a51ce95bb0b8395073fd Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Sun, 8 May 2022 14:48:12 -0400 Subject: [PATCH] remove errant char, some cleanup --- tests/w-racer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.43.0