Assembla home | Assembla project page
 

PortLog: sys-apps/grep

http://www.gnu.org/software/grep/

version 2.5.3

R5untested
BONEuntested
Haikuunstable

work in progress (scottmc)

After the fix for Haiku ticket 2262, grep builds with fresh config.guess/.sub, ./configure --prefix=/boot/common, make, make check, but 2 of 13 tests fail:

Please, do not be alarmed if some of the tests failed.
Report them to <bug-grep@gnu.org>,
with the line number, the name of the file,
and grep version number 'grep --version'.
Thank You.

PASS: warning.sh
PASS: khadafy.sh
PASS: spencer1.sh
PASS: bre.sh
PASS: ere.sh
PASS: pcre.sh
PASS: status.sh
PASS: empty.sh
PASS: options.sh
PASS: backref.sh
/dev/null: could not copy attributes
PASS: file.sh
Testing:  ../src/grep Word -o -i
  input:  "WordA/wordB/WORDC/"
  output: ""
  expect: "Word/word/WORD/"
FAIL
Testing:  ../src/grep WORD -o -i
  input:  "WordA/wordB/WORDC/"
  output: ""
  expect: "Word/word/WORD/"
FAIL
Testing:  ../src/grep Word --color=always -i
  input:  "WordA/wordb/WORDC/"
  output: "WordA/wordb/WORDC/"
  expect: "WordA/wordb/WORDC/"
FAIL
Testing:  ../src/grep WORD --color=always -i
  input:  "WordA/wordb/WORDC/"
  output: "WordA/wordb/WORDC/"
  expect: "WordA/wordb/WORDC/"
FAIL
FAIL: foad1.sh
SKIP: fmbtest.sh
 Test #11:  { ../src/grep -F -n -b -m 5 -C 1 yes; echo "?$?"; sed 's!^!X!'; }
  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]/"
  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]/"
    FAIL
 Test #27:  { ../src/grep -F -n -b -m 2 -v -C 1 yes; echo "?$?"; sed 's!^!X!'; }
  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]/"
  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]/"
    FAIL
 Test #28:  { ../src/grep -F -n -b -m 2 -v -C 1 -o yes; echo "?$?"; sed 's!^!X!'; }
  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]/"
  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]/"
    FAIL
FAIL: yesno.sh
=================================
2 of 13 tests failed
(1 tests were not run)
Please report to bug-grep@gnu.org
=================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/boot/home/grep-2.5.3-haiku/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/boot/home/grep-2.5.3-haiku/tests'
make: *** [check-recursive] Error 1
~/grep-2.5.3-haiku>