Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/testsuite/grep.tests

    r2725 r3232  
    88. ./testing.sh
    99
    10 # testing "test name" "options" "expected result" "file input" "stdin"
     10# testing "test name" "commands" "expected result" "file input" "stdin"
    1111#   file input will be file called "input"
    1212#   test can create a file "actual" instead of writing to stdout
     
    104104    "" "test\n"
    105105
     106testing "grep -f EMPTY_FILE" \
     107    "grep -f input" \
     108    "" \
     109    "" \
     110    "test\n"
     111
     112testing "grep -v -f EMPTY_FILE" \
     113    "grep -v -f input" \
     114    "test\n" \
     115    "" \
     116    "test\n"
     117
     118testing "grep -Fw matches only words" \
     119    "grep -Fw foo input" \
     120    "" \
     121    "foop\n" \
     122    ""
     123
     124testing "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
    106134exit $FAILCOUNT
Note: See TracChangeset for help on using the changeset viewer.