← Commit list

fb10ad3b5

Denys Vlasenko
Denys Vlasenko
2026-04-29
SUCCESS Duration: 143s

Subject

start-stop-daemon.tests: fix false positive if longopts are not enabled

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

scripts/randomtest.loop+5 -0
@@ -2,6 +2,11 @@
run_testsuite=false
run_testsuite=true
+# See testsuite/README:
+export SKIP_KNOWN_BUGS=1
+#export SKIP_INTERNET_TESTS=1
+# See testsuite/mount.tests:
+export SKIP_MOUNT_MAND_TESTS=1
run_single_test=false
run_single_test=true
testsuite/start-stop-daemon.tests+2 -0
@@ -21,10 +21,12 @@ testing "start-stop-daemon -x with -d on existing and check dir" \
"/tmp\n" \
"" ""
+optional FEATURE_START_STOP_DAEMON_LONG_OPTIONS
testing "start-stop-daemon -x with --chdir on existing and check dir" \
'output=$(start-stop-daemon -S --chdir /tmp -x pwd); echo $output' \
"/tmp\n" \
"" ""
+SKIP=""
testing "start-stop-daemon -a without -x" \
'start-stop-daemon -S -a false 2>&1; echo $?' \