Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/testsuite/pidof.tests
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/testsuite/pidof.tests
r1765 r2725 2 2 3 3 # pidof tests. 4 # Copyright 2005 by Bernhard Fischer5 # Licensed under GPL v2, see file LICENSE for details.4 # Copyright 2005 by Bernhard Reutner-Fischer 5 # Licensed under GPLv2, see file LICENSE in this source tree. 6 6 7 7 # AUDIT: 8 8 9 . testing.sh9 . ./testing.sh 10 10 11 11 # testing "test name" "options" "expected result" "file input" "stdin" … … 21 21 optional FEATURE_PIDOF_SINGLE 22 22 testing "pidof -s" "pidof -s init" "1\n" "" "" 23 SKIP= 23 24 24 optional FEATURE_PIDOF_OMIT 25 testing "pidof -o %PPID" "pidof -o %PPID pidof.tests | grep -o -w $$" "" "" "" 25 optional FEATURE_PIDOF_OMIT FEATURE_PIDOF_SINGLE 26 # This test fails now because process name matching logic has changed, 27 # but new logic is not "wrong" either... see find_pid_by_name.c comments 28 #testing "pidof -o %PPID" "pidof -o %PPID pidof.tests | grep -o -w $$" "" "" "" 26 29 testing "pidof -o %PPID NOP" "pidof -o %PPID -s init" "1\n" "" "" 27 30 testing "pidof -o init" "pidof -o 1 init | grep -o -w 1" "" "" "" 31 SKIP= 28 32 29 33 exit $FAILCOUNT
Note:
See TracChangeset
for help on using the changeset viewer.