From 3fc2e5f23bbbe3e9341397712a6a4d786adb8d6a Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 3 Aug 2021 20:35:13 -0300 Subject: [PATCH] test: revert to mkdir -p to make results directory. As suggested by id:m21r7al3mt.fsf@guru.guru-group.fi --- test/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 67ad8853..1dbc6f7f 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -861,7 +861,7 @@ test_when_finished () { test_done () { GIT_EXIT_OK=t test_results_dir="$TEST_DIRECTORY/test-results" - test -d "$test_results_dir" || mkdir "$test_results_dir" + mkdir -p "$test_results_dir" test_results_path="$test_results_dir/$this_test" printf %s\\n \