From 17c0a4758b2296304dd2d21cfbc67132698839da Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Tue, 27 Jul 2021 16:23:22 -0700 Subject: [PATCH] sharness: do not use spaces in trash directory With a recent curl update, it now rejects URLs with spaces in it. We should probably fix this so that we can sanitize urls with spaces to be used properly, but for now, just remove spaces in the directory. Signed-off-by: Kevin Morris --- test/sharness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sharness.sh b/test/sharness.sh index ace5a5b5..ac13b7b6 100644 --- a/test/sharness.sh +++ b/test/sharness.sh @@ -895,7 +895,7 @@ SHARNESS_TEST_FILE="$0" export SHARNESS_TEST_FILE # Prepare test area. -SHARNESS_TRASH_DIRECTORY="trash directory.$(basename "$SHARNESS_TEST_FILE" ".$SHARNESS_TEST_EXTENSION")" +SHARNESS_TRASH_DIRECTORY="trash_directory.$(basename "$SHARNESS_TEST_FILE" ".$SHARNESS_TEST_EXTENSION")" test -n "$root" && SHARNESS_TRASH_DIRECTORY="$root/$SHARNESS_TRASH_DIRECTORY" case "$SHARNESS_TRASH_DIRECTORY" in /*) ;; # absolute path is good