Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/testsuite/grep.tests
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/testsuite/grep.tests
r2725 r3232 8 8 . ./testing.sh 9 9 10 # testing "test name" " options" "expected result" "file input" "stdin"10 # testing "test name" "commands" "expected result" "file input" "stdin" 11 11 # file input will be file called "input" 12 12 # test can create a file "actual" instead of writing to stdout … … 104 104 "" "test\n" 105 105 106 testing "grep -f EMPTY_FILE" \ 107 "grep -f input" \ 108 "" \ 109 "" \ 110 "test\n" 111 112 testing "grep -v -f EMPTY_FILE" \ 113 "grep -v -f input" \ 114 "test\n" \ 115 "" \ 116 "test\n" 117 118 testing "grep -Fw matches only words" \ 119 "grep -Fw foo input" \ 120 "" \ 121 "foop\n" \ 122 "" 123 124 testing "grep -Fw doesn't stop on 1st mismatch" \ 125 "grep -Fw foo input" \ 126 "foop foo\n" \ 127 "foop foo\n" \ 128 "" 129 130 # testing "test name" "commands" "expected result" "file input" "stdin" 131 # file input will be file called "input" 132 # test can create a file "actual" instead of writing to stdout 133 106 134 exit $FAILCOUNT
Note:
See TracChangeset
for help on using the changeset viewer.