diff options
Diffstat (limited to 'testsuite/pidof.tests')
-rwxr-xr-x | testsuite/pidof.tests | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/pidof.tests b/testsuite/pidof.tests index 0c303cf22..0515522f8 100755 --- a/testsuite/pidof.tests +++ b/testsuite/pidof.tests | |||
@@ -16,13 +16,11 @@ testing "pidof (exit with error)" "veryunlikelyoccuringbinaryname ; echo \$?" \ | |||
16 | testing "pidof (exit with success)" "pidof > /dev/null; echo \$?" "0\n" "" "" | 16 | testing "pidof (exit with success)" "pidof > /dev/null; echo \$?" "0\n" "" "" |
17 | 17 | ||
18 | 18 | ||
19 | # Depends on FEATURE_PIDOF_SINGLE | 19 | optional FEATURE_PIDOF_SINGLE |
20 | _BB_CONFIG_DEP=FEATURE_PIDOF_SINGLE | ||
21 | testing "pidof -s" "-s $(basename $0) ; echo -n \$?" \ | 20 | testing "pidof -s" "-s $(basename $0) ; echo -n \$?" \ |
22 | "$(pidof -s $(basename $0) ; echo -n $?)" "" "" | 21 | "$(pidof -s $(basename $0) ; echo -n $?)" "" "" |
23 | 22 | ||
24 | # Depends on FEATURE_PIDOF_OMIT | 23 | optional FEATURE_PIDOF_OMIT |
25 | _BB_CONFIG_DEP=FEATURE_PIDOF_OMIT | ||
26 | testing "pidof -o %PPID" "$(basename $0) -o %PPID ; echo -n \$?" \ | 24 | testing "pidof -o %PPID" "$(basename $0) -o %PPID ; echo -n \$?" \ |
27 | "$(pidof $(basename $0) -o %PPID ; echo -n $?)" "" "" | 25 | "$(pidof $(basename $0) -o %PPID ; echo -n $?)" "" "" |
28 | 26 | ||