| 1 | | [[TOC]] |
| 2 | | |
| 3 | | = PortLog: [wiki:sys-apps]/grep = |
| 4 | | |
| 5 | | http://www.gnu.org/software/grep/ |
| 6 | | |
| 7 | | == version 2.5.3 == |
| 8 | | |
| 9 | | ||R5||untested|| |
| 10 | | ||BONE||untested|| |
| 11 | | ||Haiku||unstable|| |
| 12 | | |
| 13 | | === work in progress (scottmc) === |
| 14 | | |
| 15 | | After the fix for [http://dev.haiku-os.org/ticket/2262 Haiku ticket 2262], grep builds with fresh config.guess/.sub, ./configure --prefix=/boot/common, make, make check, but 2 of 13 tests fail: |
| 16 | | |
| 17 | | {{{ |
| 18 | | |
| 19 | | Please, do not be alarmed if some of the tests failed. |
| 20 | | Report them to <bug-grep@gnu.org>, |
| 21 | | with the line number, the name of the file, |
| 22 | | and grep version number 'grep --version'. |
| 23 | | Thank You. |
| 24 | | |
| 25 | | PASS: warning.sh |
| 26 | | PASS: khadafy.sh |
| 27 | | PASS: spencer1.sh |
| 28 | | PASS: bre.sh |
| 29 | | PASS: ere.sh |
| 30 | | PASS: pcre.sh |
| 31 | | PASS: status.sh |
| 32 | | PASS: empty.sh |
| 33 | | PASS: options.sh |
| 34 | | PASS: backref.sh |
| 35 | | /dev/null: could not copy attributes |
| 36 | | PASS: file.sh |
| 37 | | Testing: ../src/grep Word -o -i |
| 38 | | input: "WordA/wordB/WORDC/" |
| 39 | | output: "" |
| 40 | | expect: "Word/word/WORD/" |
| 41 | | FAIL |
| 42 | | Testing: ../src/grep WORD -o -i |
| 43 | | input: "WordA/wordB/WORDC/" |
| 44 | | output: "" |
| 45 | | expect: "Word/word/WORD/" |
| 46 | | FAIL |
| 47 | | Testing: ../src/grep Word --color=always -i |
| 48 | | input: "WordA/wordb/WORDC/" |
| 49 | | output: "WordA/wordb/WORDC/" |
| 50 | | expect: "WordA/wordb/WORDC/" |
| 51 | | FAIL |
| 52 | | Testing: ../src/grep WORD --color=always -i |
| 53 | | input: "WordA/wordb/WORDC/" |
| 54 | | output: "WordA/wordb/WORDC/" |
| 55 | | expect: "WordA/wordb/WORDC/" |
| 56 | | FAIL |
| 57 | | FAIL: foad1.sh |
| 58 | | SKIP: fmbtest.sh |
| 59 | | Test #11: { ../src/grep -F -n -b -m 5 -C 1 yes; echo "?$?"; sed 's!^!X!'; } |
| 60 | | output: "2-10-[B02 no ]/3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/6-50-[F06 no ]/7-60-[G07 no ]/8:70:[H08 yes]/9:80:[I09 yes]/10-90-[J10 no ]/?0/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" |
| 61 | | expect: "2-10-[B02 no ]/3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/6-50-[F06 no ]/7-60-[G07 no ]/8:70:[H08 yes]/9:80:[I09 yes]/?0/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" |
| 62 | | FAIL |
| 63 | | Test #27: { ../src/grep -F -n -b -m 2 -v -C 1 yes; echo "?$?"; sed 's!^!X!'; } |
| 64 | | output: "1:0:[A01 no ]/2:10:[B02 no ]/3-20-[C03 yes]/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" |
| 65 | | expect: "1:0:[A01 no ]/2:10:[B02 no ]/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" |
| 66 | | FAIL |
| 67 | | Test #28: { ../src/grep -F -n -b -m 2 -v -C 1 -o yes; echo "?$?"; sed 's!^!X!'; } |
| 68 | | output: "3-25-yes/?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" |
| 69 | | expect: "?0/X[C03 yes]/X[D04 yes]/X[E05 yes]/X[F06 no ]/X[G07 no ]/X[H08 yes]/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/" |
| 70 | | FAIL |
| 71 | | FAIL: yesno.sh |
| 72 | | ================================= |
| 73 | | 2 of 13 tests failed |
| 74 | | (1 tests were not run) |
| 75 | | Please report to bug-grep@gnu.org |
| 76 | | ================================= |
| 77 | | make[2]: *** [check-TESTS] Error 1 |
| 78 | | make[2]: Leaving directory `/boot/home/grep-2.5.3-haiku/tests' |
| 79 | | make[1]: *** [check-am] Error 2 |
| 80 | | make[1]: Leaving directory `/boot/home/grep-2.5.3-haiku/tests' |
| 81 | | make: *** [check-recursive] Error 1 |
| 82 | | ~/grep-2.5.3-haiku> |
| 83 | | }}} |
| 84 | | |
| 85 | | |
| 86 | | |
| | 1 | |