start-stop-daemon.tests: fix false positive if longopts are not enabled
No binary (build failed)
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Iinclude -Iinclude -o applets/usage applets/usage.c
(log yok)
| @@ -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 | |
| @@ -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 $?' \ | |