From: Kazuhiro N. <zn...@mb...> - 2009-03-23 02:31:24
|
Hi, At Mon, 23 Mar 2009 08:31:11 +0900, <his...@hi...> wrote: > > When i launch ./CrackerJack -g and compare results, I only have regression > and error ! > > But when i look log file on for example "uname", the 2 tests log are PASS, > and the cerr.log is : > [: 70: ==: unexpected error > > Can you tell me what the problem ? It's a bashism of testcases/default-compare. It should be = instead of == in [ ... ] of POSIX sh. Workaround is following patch: --- testcases/default-compare.orig 2008-04-01 18:22:18.000000000 +0900 +++ testcases/default-compare 2009-03-23 10:58:44.611393285 +0900 @@ -63,7 +63,7 @@ # invoke diff diff -u "$expResult" "$curResult" >&2 -if [ $? == 0 ]; then +if [ $? = 0 ]; then echo "OK" else echo "NG" > I use the 2.1 version, downloaded from sourceforge. This problem already fixed in trunk. Yoon-san, how do you make the package of 2.1.0? -- |Kazuhiro NISHIYAMA |