Skip to content

Commit 8f4a009

Browse files
committed
tests: runcon: avoid false success
* tests/runcon/runcon-compute.sh: Ensure runcon runs, since the main test is a negative one.
1 parent 7be8402 commit 8f4a009

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/runcon/runcon-compute.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
2020
print_ver_ runcon
2121

22+
runcon --version || fail=1
23+
2224
# Create an executable that's sure to fail
2325
printf '%s\n' '#!/bin/sh' 'exit 1' >> 'true' || framework_failure_
2426
chmod a+x 'true' || framework_failure_

0 commit comments

Comments
 (0)