]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (run.sh) fix coding style
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 10 Apr 2026 03:40:29 +0000 (23:40 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 10 Apr 2026 03:51:11 +0000 (23:51 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/run.sh

index 1c5db6c8568166946c05963ca5461590d9945479..9f06e691a0dbafb6ab53f4537aa2bde8f2703f5a 100755 (executable)
@@ -193,7 +193,7 @@ if [ -n "$SUBTESTS" ]; then
                fi
        done
 else
-       if [ -z "$SYSCOMMANDS" -a ! -f "$top_builddir/test_ttyutils" ]; then
+       if [ -z "$SYSCOMMANDS" ] && [ ! -f "$top_builddir/test_ttyutils" ]; then
                echo "Tests not compiled! Run 'make check-programs' to fix the problem."
                exit 1
        fi