]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests/run: create failure directory
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Feb 2020 11:13:09 +0000 (12:13 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 17 Mar 2021 14:07:27 +0000 (15:07 +0100)
The test would occasionally fail with
tests/run.sh: line 241: /home/fedora/util-linux/build/tests/failures: No such file or directory

I don't quite understand why the file does not get created... The outupt directory
missing seems the most likely explanation.

tests/run.sh

index d6f0dff7d9ee0e0eb06586f6ae12ca302953ab79..d0d178d57abfec273ec9675313f99d742974d620 100755 (executable)
@@ -236,6 +236,7 @@ if [ "$paraller_jobs" -ne 1 ]; then
 fi
 
 count=0
+mkdir -p $top_builddir/tests/
 >| $top_builddir/tests/failures
 printf "%s\n" ${comps[*]} |
        sort |