From 03737127f63ea0f8a75305f3f06c83e715eaa1c2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 23 Jun 2019 13:24:23 -0400 Subject: tests: Qualify the path to $TMP/scratch --- tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests.sh b/tests.sh index 65d22ee..af343a1 100755 --- a/tests.sh +++ b/tests.sh @@ -691,7 +691,9 @@ function cleanup() { done # In case a test left anything weird in scratch/ - chmod -R +rX scratch + if [ -e "$TMP"/scratch ]; then + chmod -R +rX "$TMP"/scratch + fi rm -rf "$TMP" } -- cgit v1.2.3