[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Grep on Os2
From: |
Elbert_Gmail |
Subject: |
Grep on Os2 |
Date: |
Tue, 10 Feb 2009 19:03:03 +0100 |
User-agent: |
Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.1b3pre) Gecko/20090118 SeaMonkey/2.0a3pre |
Hello All,
I did today a port from grep to Os2.
All went well execpt the check fails.
I run the configure with the ./configure --without-included-regex
--prefix=/Grep254
Then run the make, saw some warning come along.
hard-locale.c: In function 'hard_locale':
hard-locale.c:67: warning: incompatible implicit declaration of built-in
function 'alloca'
In file included from esearch.c:2:
search.c: In function 'check_multibyte_string':
search.c:169: warning: passing argument 1 of 'wcrtomb' discards
qualifiers from pointer target type
search.c: In function 'check_multibyte_string':
search.c:169: warning: passing argument 1 of 'wcrtomb' discards
qualifiers from pointer target type
Then run the check and that fails.
Making check in intl
make.exe[1]: Entering directory `U:/grep-2.5.4/intl'
make.exe[1]: Nothing to be done for `check'.
make.exe[1]: Leaving directory `U:/grep-2.5.4/intl'
Making check in po
make.exe[1]: Entering directory `U:/grep-2.5.4/po'
make.exe[1]: Leaving directory `U:/grep-2.5.4/po'
Making check in lib
make.exe[1]: Entering directory `U:/grep-2.5.4/lib'
Making check in posix
make.exe[2]: Entering directory `U:/grep-2.5.4/lib/posix'
make.exe[2]: Nothing to be done for `check'.
make.exe[2]: Leaving directory `U:/grep-2.5.4/lib/posix'
make.exe[2]: Entering directory `U:/grep-2.5.4/lib'
make.exe[2]: Nothing to be done for `check-am'.
make.exe[2]: Leaving directory `U:/grep-2.5.4/lib'
make.exe[1]: Leaving directory `U:/grep-2.5.4/lib'
Making check in doc
make.exe[1]: Entering directory `U:/grep-2.5.4/doc'
make.exe[1]: Nothing to be done for `check'.
make.exe[1]: Leaving directory `U:/grep-2.5.4/doc'
Making check in src
make.exe[1]: Entering directory `U:/grep-2.5.4/src'
make.exe[1]: Nothing to be done for `check'.
make.exe[1]: Leaving directory `U:/grep-2.5.4/src'
Making check in tests
make.exe[1]: Entering directory `U:/grep-2.5.4/tests'
make.exe check-TESTS
make.exe[2]: Entering directory `U:/grep-2.5.4/tests'
Please, do not be alarmed if some of the tests failed.
Report them to <address@hidden>,
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
PASS: file.sh
Testing: ../src/grep -o y*
input: "xyz/"
output: ""
expect: "y/"
FAIL
Testing: ../src/grep --color=always y*
input: "xyz/"
output: ""
expect: "x[01;31m[Ky[m[Kz/"
FAIL
FAIL: foad1.sh
locale: not found
SKIP: fmbtest.sh
Test #1: { ../src/grep -F -n -b yes; echo "?$?"; sed 's!^!X!'; }
output: "3:22:[C03 yes]/4:33:[D04 yes]/5:44:[E05 yes]/8:77:[H08
yes]/9:88:[I09 yes]/13:132:[M13 yes]/14:143:[N14 yes]/?0
expect: "3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/8:70:[H08
yes]/9:80:[I09 yes]/13:120:[M13 yes]/14:130:[N14 yes]/?0/"
FAIL
Test #2: { ../src/grep -F -n -b -o yes; echo "?$?"; sed 's!^!X!'; }
output:
"3:27:yes/4:38:yes/5:49:yes/8:82:yes/9:93:yes/13:137:yes/14:148:yes/?0
expect:
"3:25:yes/4:35:yes/5:45:yes/8:75:yes/9:85:yes/13:125:yes/14:135:yes/?0/"
FAIL
Test #3: { ../src/grep -F -n -b -C 1 yes; echo "?$?"; sed 's!^!X!'; }
output: "2-11-[B02 no ]/3:22:[C03 yes]/4:33:[D04 yes]/5:44:[E05
yes]/6-55-[F06 no ]/7-66-[G07 no ]/8:77:[H08 yes]/9:88:[I09
yes]/10-99-[J10 no ]/--/12-121-[L12 no ]/13:132:[M13 yes]/14:143:[N14
yes]/?0
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]/10-90-[J10 no ]/--/12-110-[L12 no ]/13:120:[M13 yes]/14:130:[N14
yes]/?0/"
FAIL
Test #4: { ../src/grep -F -n -b -C 1 -o yes; echo "?$?"; sed 's!^!X!'; }
output:
"3:27:yes/4:38:yes/5:49:yes/8:82:yes/9:93:yes/--/13:137:yes/14:148:yes/?0
expect:
"3:25:yes/4:35:yes/5:45:yes/8:75:yes/9:85:yes/--/13:125:yes/14:135:yes/?0/"
FAIL
Test #5: { ../src/grep -F -n -b -m 4 yes; echo "?$?"; sed 's!^!X!'; }
output: "3:22:[C03 yes]/4:33:[D04 yes]/5:44:[E05 yes]/8:77:[H08 yes]/?0
expect: "3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/8:70:[H08
yes]/?0/X[I09 yes]/X[J10 no ]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #6: { ../src/grep -F -n -b -m 4 -o yes; echo "?$?"; sed 's!^!X!'; }
output: "3:27:yes/4:38:yes/5:49:yes/8:82:yes/?0
expect: "3:25:yes/4:35:yes/5:45:yes/8:75:yes/?0/X[I09 yes]/X[J10 no
]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #7: { ../src/grep -F -n -b -m 4 -C 1 yes; echo "?$?"; sed
's!^!X!'; }
output: "2-11-[B02 no ]/3:22:[C03 yes]/4:33:[D04 yes]/5:44:[E05
yes]/6-55-[F06 no ]/7-66-[G07 no ]/8:77:[H08 yes]/?0
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]/?0/X[I09 yes]/X[J10 no
]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #8: { ../src/grep -F -n -b -m 4 -C 1 -o yes; echo "?$?"; sed
's!^!X!'; }
output: "3:27:yes/4:38:yes/5:49:yes/8:82:yes/?0
expect: "3:25:yes/4:35:yes/5:45:yes/8:75:yes/?0/X[I09 yes]/X[J10 no
]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #9: { ../src/grep -F -n -b -m 5 yes; echo "?$?"; sed 's!^!X!'; }
output: "3:22:[C03 yes]/4:33:[D04 yes]/5:44:[E05 yes]/8:77:[H08
yes]/9:88:[I09 yes]/?0
expect: "3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/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 #10: { ../src/grep -F -n -b -m 5 -o yes; echo "?$?"; sed 's!^!X!'; }
output: "3:27:yes/4:38:yes/5:49:yes/8:82:yes/9:93:yes/?0
expect: "3:25:yes/4:35:yes/5:45:yes/8:75:yes/9:85:yes/?0/X[J10 no
]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #11: { ../src/grep -F -n -b -m 5 -C 1 -o yes; echo "?$?"; sed
's!^!X!'; }
output: "3:27:yes/4:38:yes/5:49:yes/8:82:yes/9:93:yes/?0
expect: "3:25:yes/4:35:yes/5:45:yes/8:75:yes/9:85:yes/?0/X[J10 no
]/X[K11 no ]/X[L12 no ]/X[M13 yes]/X[N14 yes]/"
FAIL
Test #12: { ../src/grep -F -n -b -m 6 yes; echo "?$?"; sed 's!^!X!'; }
output: "3:22:[C03 yes]/4:33:[D04 yes]/5:44:[E05 yes]/8:77:[H08
yes]/9:88:[I09 yes]/13:132:[M13 yes]/?0
expect: "3:20:[C03 yes]/4:30:[D04 yes]/5:40:[E05 yes]/8:70:[H08
yes]/9:80:[I09 yes]/13:120:[M13 yes]/?0/X[N14 yes]/"
FAIL
Test #13: { ../src/grep -F -n -b -m 6 -o yes; echo "?$?"; sed 's!^!X!'; }
output: "3:27:yes/4:38:yes/5:49:yes/8:82:yes/9:93:yes/13:137:yes/?0
expect:
"3:25:yes/4:35:yes/5:45:yes/8:75:yes/9:85:yes/13:125:yes/?0/X[N14 yes]/"
FAIL
Test #14: { ../src/grep -F -n -b -m 6 -C 1 yes; echo "?$?"; sed
's!^!X!'; }
output: "2-11-[B02 no ]/3:22:[C03 yes]/4:33:[D04 yes]/5:44:[E05
yes]/6-55-[F06 no ]/7-66-[G07 no ]/8:77:[H08 yes]/9:88:[I09
yes]/10-99-[J10 no ]/--/12-121-[L12 no ]/13:132:[M13 yes]/?0
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]/10-90-[J10 no ]/--/12-110-[L12 no ]/13:120:[M13 yes]/?0/X[N14 yes]/"
FAIL
Test #15: { ../src/grep -F -n -b -m 6 -C 1 -o yes; echo "?$?"; sed
's!^!X!'; }
output: "3:27:yes/4:38:yes/5:49:yes/8:82:yes/9:93:yes/--/13:137:yes/?0
expect:
"3:25:yes/4:35:yes/5:45:yes/8:75:yes/9:85:yes/--/13:125:yes/?0/X[N14 yes]/"
FAIL
Test #16: { ../src/grep -F -n -b -v yes; echo "?$?"; sed 's!^!X!'; }
output: "1:0:[A01 no ]/2:11:[B02 no ]/6:55:[F06 no ]/7:66:[G07 no
]/10:99:[J10 no ]/11:110:[K11 no ]/12:121:[L12 no ]/?0
expect: "1:0:[A01 no ]/2:10:[B02 no ]/6:50:[F06 no ]/7:60:[G07 no
]/10:90:[J10 no ]/11:100:[K11 no ]/12:110:[L12 no ]/?0/"
FAIL
Test #17: { ../src/grep -F -n -b -v -o yes; echo "?$?"; sed 's!^!X!'; }
output: "?0
expect: "?0/"
FAIL
Test #18: { ../src/grep -F -n -b -v -C 1 yes; echo "?$?"; sed 's!^!X!'; }
output: "1:0:[A01 no ]/2:11:[B02 no ]/3-22-[C03 yes]/--/5-44-[E05
yes]/6:55:[F06 no ]/7:66:[G07 no ]/8-77-[H08 yes]/9-88-[I09
yes]/10:99:[J10 no ]/11:110:[K11 no ]/12:121:[L12 no ]/13-132-[M13 yes]/?0
expect: "1:0:[A01 no ]/2:10:[B02 no ]/3-20-[C03 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 ]/11:100:[K11 no ]/12:110:[L12 no ]/13-120-[M13 yes]/?0/"
FAIL
Test #19: { ../src/grep -F -n -b -v -C 1 -o yes; echo "?$?"; sed
's!^!X!'; }
output: "3-27-yes/--/5-49-yes/8-82-yes/9-93-yes/13-137-yes/?0
expect: "3-25-yes/--/5-45-yes/8-75-yes/9-85-yes/13-125-yes/?0/"
FAIL
Test #20: { ../src/grep -F -n -b -m 1 -v yes; echo "?$?"; sed 's!^!X!'; }
output: "1:0:[A01 no ]/?0
expect: "1:0:[A01 no ]/?0/X[B02 no ]/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 #21: { ../src/grep -F -n -b -m 1 -v -o yes; echo "?$?"; sed
's!^!X!'; }
output: "?0
expect: "?0/X[B02 no ]/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 #22: { ../src/grep -F -n -b -m 1 -v -C 1 yes; echo "?$?"; sed
's!^!X!'; }
output: "1:0:[A01 no ]/?0
expect: "1:0:[A01 no ]/?0/X[B02 no ]/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 #23: { ../src/grep -F -n -b -m 1 -v -C 1 -o yes; echo "?$?"; sed
's!^!X!'; }
output: "?0
expect: "?0/X[B02 no ]/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 #24: { ../src/grep -F -n -b -m 2 -v yes; echo "?$?"; sed 's!^!X!'; }
output: "1:0:[A01 no ]/2:11:[B02 no ]/?0
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 #25: { ../src/grep -F -n -b -m 2 -v -o yes; echo "?$?"; sed
's!^!X!'; }
output: "?0
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
Test #26: { ../src/grep -F -n -b -m 3 -v yes; echo "?$?"; sed 's!^!X!'; }
output: "1:0:[A01 no ]/2:11:[B02 no ]/6:55:[F06 no ]/?0
expect: "1:0:[A01 no ]/2:10:[B02 no ]/6:50:[F06 no ]/?0/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 #27: { ../src/grep -F -n -b -m 3 -v -o yes; echo "?$?"; sed
's!^!X!'; }
output: "?0
expect: "?0/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 3 -v -C 1 yes; echo "?$?"; sed
's!^!X!'; }
output: "1:0:[A01 no ]/2:11:[B02 no ]/3-22-[C03 yes]/--/5-44-[E05
yes]/6:55:[F06 no ]/?0
expect: "1:0:[A01 no ]/2:10:[B02 no ]/3-20-[C03 yes]/--/5-40-[E05
yes]/6:50:[F06 no ]/?0/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 #29: { ../src/grep -F -n -b -m 3 -v -C 1 -o yes; echo "?$?"; sed
's!^!X!'; }
output: "3-27-yes/--/5-49-yes/?0
expect: "3-25-yes/--/5-45-yes/?0/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 address@hidden
=================================
make.exe[2]: *** [check-TESTS] Error 1
make.exe[2]: Leaving directory `U:/grep-2.5.4/tests'
make.exe[1]: *** [check-am] Error 2
make.exe[1]: Target `check' not remade because of errors.
make.exe[1]: Leaving directory `U:/grep-2.5.4/tests'
Making check in m4
make.exe[1]: Entering directory `U:/grep-2.5.4/m4'
make.exe[1]: Nothing to be done for `check'.
make.exe[1]: Leaving directory `U:/grep-2.5.4/m4'
Making check in vms
make.exe[1]: Entering directory `U:/grep-2.5.4/vms'
make.exe[1]: Nothing to be done for `check'.
make.exe[1]: Leaving directory `U:/grep-2.5.4/vms'
Making check in bootstrap
make.exe[1]: Entering directory `U:/grep-2.5.4/bootstrap'
make.exe[1]: Nothing to be done for `check'.
make.exe[1]: Leaving directory `U:/grep-2.5.4/bootstrap'
make.exe[1]: Entering directory `U:/grep-2.5.4'
make.exe[1]: Nothing to be done for `check-am'.
make.exe[1]: Leaving directory `U:/grep-2.5.4'
make.exe: *** [check-recursive] Error 1
make.exe: Target `check' not remade because of errors.
Can this be from any harm for the porting grep file ?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Grep on Os2,
Elbert_Gmail <=