From: Pádraig Brady Date: Sat, 20 Dec 2025 13:16:11 +0000 (+0000) Subject: tests: runcon: avoid false success X-Git-Tag: v9.10~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f4a0095a051cc1572533800fb0393f9185b3d30;p=thirdparty%2Fcoreutils.git tests: runcon: avoid false success * tests/runcon/runcon-compute.sh: Ensure runcon runs, since the main test is a negative one. --- diff --git a/tests/runcon/runcon-compute.sh b/tests/runcon/runcon-compute.sh index 64ac77c39c..25376318b9 100755 --- a/tests/runcon/runcon-compute.sh +++ b/tests/runcon/runcon-compute.sh @@ -19,6 +19,8 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ runcon +runcon --version || fail=1 + # Create an executable that's sure to fail printf '%s\n' '#!/bin/sh' 'exit 1' >> 'true' || framework_failure_ chmod a+x 'true' || framework_failure_