aboutsummaryrefslogtreecommitdiff
path: root/testsuite/pidof.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pidof.tests')
-rwxr-xr-xtestsuite/pidof.tests6
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 \$?" \
16testing "pidof (exit with success)" "pidof > /dev/null; echo \$?" "0\n" "" "" 16testing "pidof (exit with success)" "pidof > /dev/null; echo \$?" "0\n" "" ""
17 17
18 18
19# Depends on FEATURE_PIDOF_SINGLE 19optional FEATURE_PIDOF_SINGLE
20_BB_CONFIG_DEP=FEATURE_PIDOF_SINGLE
21testing "pidof -s" "-s $(basename $0) ; echo -n \$?" \ 20testing "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 23optional FEATURE_PIDOF_OMIT
25_BB_CONFIG_DEP=FEATURE_PIDOF_OMIT
26testing "pidof -o %PPID" "$(basename $0) -o %PPID ; echo -n \$?" \ 24testing "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