|
From: | Peram, Sudhakara |
Subject: | [bug-diffutils] DiffUtility: Test FAIL: function-line-vs-leading-space |
Date: | Sun, 23 Jan 2011 21:50:45 -0500 |
Hi Below is the test failed on solaris when I was building 64 bit diff
utility to support large files. Uname –a SunOS hostname 5.9 Generic_122300-47 sun4u sparc SUNW,Sun-Fire-V490 CFLAGS: -m64 -D_LARGEFILE_SUPPORT Error Report PASS: basic PASS: binary PASS: help-version FAIL: function-line-vs-leading-space PASS: label-vs-func PASS: no-newline-at-eof PASS: stdin ============================================= GNU diffutils 3.0: tests/test-suite.log ============================================= 1 of 7 tests failed. .. contents:: :depth: 2 FAIL: function-line-vs-leading-space (exit: 1) ============================================== ++ initial_cwd_=/Volumes/app/util/diff/diffutils-3.0/tests +++ expr ././function-line-vs-leading-space : '.*/\(.*\)$' ++ ME_=function-line-vs-leading-space +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /Volumes/app/util/diff/diffutils-3.0/tests
gt-function-line-vs-leading-space.XXXX +++ destdir_=/Volumes/app/util/diff/diffutils-3.0/tests +++ template_=gt-function-line-vs-leading-space.XXXX +++ MAX_TRIES_=4 +++ fail=0 ++++ unset TMPDIR ++++ mktemp -d -t -p /Volumes/app/util/diff/diffutils-3.0/tests
gt-function-line-vs-leading-space.XXXX +++ d= +++ fail=1 +++ fail=1 +++ test -d '' +++ fail=1 ++++ ls -dgo '' ++++ tr S - +++ perms=drwxr-xr-x 2 1024 Jan 23
21:43 . +++ fail=1 +++ test 1 = 0 ++++ echo gt-function-line-vs-leading-space.XXXX ++++ sed 's/XX*$//' +++ base_template_=gt-function-line-vs-leading-space. ++++ echo gt-function-line-vs-leading-space.XXXX ++++ wc -c +++ template_length_= 39 ++++ echo gt-function-line-vs-leading-space. ++++ wc -c +++ nx_= 35 ++++ expr 39 - 35 +++ nx_=4 +++ err_= +++ i_=1 +++ : ++++ rand_bytes_ 4 ++++ n_=4 ++++
chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ++++ dev_rand_=/dev/urandom ++++ test -r /dev/urandom ++++ dd ibs=4 count=1 if=/dev/urandom ++++ LC_ALL=C ++++ tr -c
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ++++ return +++ X_=wnGp +++ candidate_dir_=/Volumes/app/util/diff/diffutils-3.0/tests/gt-function-line-vs-leading-space.wnGp ++++ mkdir -m 0700
/Volumes/app/util/diff/diffutils-3.0/tests/gt-function-line-vs-leading-space.wnGp +++ err_= +++ echo
/Volumes/app/util/diff/diffutils-3.0/tests/gt-function-line-vs-leading-space.wnGp +++ return ++
test_dir_=/Volumes/app/util/diff/diffutils-3.0/tests/gt-function-line-vs-leading-space.wnGp ++ cd
/Volumes/app/util/diff/diffutils-3.0/tests/gt-function-line-vs-leading-space.wnGp ++ trap remove_tmp_ 0 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src ++ cd /Volumes/app/util/diff/diffutils-3.0/tests/../src ++ echo /Volumes/app/util/diff/diffutils-3.0/src + abs_path_dir_=/Volumes/app/util/diff/diffutils-3.0/src +
PATH=/Volumes/app/util/diff/diffutils-3.0/src:/Volumes/app/util/diff/diffutils-3.0/src:/home/perams:.:/usr/local/bin:/usr/bin:/bin:/etc:/usr/ucb:/usr/sbin:/usr/openwin/bin:/usr/ucb/bin:/usr/local/sbin:/usr/local/X11:/usr/local/etc:.:/usr/local/jdk/bin:/usr/local/ssl/bin:/usr/ccs/bin:/usr/ccs/lib:/home/perams/bin + create_exe_shims_ /Volumes/app/util/diff/diffutils-3.0/src + return 0 + shift + test 0 '!=' 0 + export PATH + cat + sed s/foo/null/ + cat + fail=0 + diff -u -F '^[[:space:]]*\(function\|procedure\)' in in2 + test 1 = 1 + tail -n+3 out usage: tail [+/-[n][lbc][f]] [file] tail [+/-[n][l][r|f]] [file] + fail=1 + compare out exp + diff -u out exp --- out 2011-01-23 21:43:46.513535000 -0500 +++ exp 2011-01-23 21:43:46.507394000 -0500 @@ -1,5 +1,3 @@ ---- in 2011-01-23 21:43:46.491445000 -0500 -+++ in2 2011-01-23
21:43:46.503791000 -0500 @@ -8,7 +8,7 @@ procedure Local_Level_5 is null;
null; + fail=1 + compare err /dev/null + diff -u err /dev/null + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /Volumes/app/util/diff/diffutils-3.0/tests + chmod -R u+rwx /Volumes/app/util/diff/diffutils-3.0/tests/gt-function-line-vs-leading-space.wnGp + rm -rf
/Volumes/app/util/diff/diffutils-3.0/tests/gt-function-line-vs-leading-space.wnGp + exit 1 ====================================== 1 of 7 tests failed See tests/test-suite.log Please report to address@hidden ====================================== make[3]: *** [test-suite.log] Error 1 make[3]: Leaving directory
`/Volumes/app/util/diff/diffutils-3.0/tests' make[2]: *** [check-TESTS] Error 2 make[2]: Leaving directory
`/Volumes/app/util/diff/diffutils-3.0/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory
`/Volumes/app/util/diff/diffutils-3.0/tests' make: *** [check-recursive] Error 1 Regards Sudhakar |
[Prev in Thread] | Current Thread | [Next in Thread] |