diff options
author | Dylan Yudaken <dylany@fb.com> | 2022-04-22 09:01:30 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-22 11:18:08 -0600 |
commit | fddf8e6fd0ec06ca84a1d6a769dbd891e7cdaf08 (patch) | |
tree | 9228eabaf74c8bea85badfea313c1a564aa5facb | |
parent | 16d9366b9f9ca44d2a4da7320663a06fb9df7a28 (diff) | |
download | liburing-fddf8e6fd0ec06ca84a1d6a769dbd891e7cdaf08.tar.gz liburing-fddf8e6fd0ec06ca84a1d6a769dbd891e7cdaf08.tar.bz2 |
test: mkdir -p output folder
In case multiple mkdir are running at once, do not log an error if it
exists due to a race condition.
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220422160132.2891927-6-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rwxr-xr-x | test/runtests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtests.sh b/test/runtests.sh index 122e482..6d8f7af 100755 --- a/test/runtests.sh +++ b/test/runtests.sh @@ -139,7 +139,7 @@ run_test() # Run all specified tests for tst in "${TESTS[@]}"; do if [ ! -d output ]; then - mkdir output + mkdir -p output fi if [ -z "${TEST_MAP[$tst]}" ]; then run_test "$tst" |