============================================= GNU diffutils 3.8: tests/test-suite.log ============================================= # TOTAL: 22 # PASS: 19 # SKIP: 1 # XFAIL: 1 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: large-subopt =================== ++ initial_cwd_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests gt-large-subopt.XXXX +++ case $# in +++ destdir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests +++ template_=gt-large-subopt.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/ +++ case $template_ in ++++ unset TMPDIR +++ d=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR +++ case $d in +++ : +++ test -d /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR ++++ ls -dgo /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR +++ perms='drwx------ 2 40 Nov 5 12:41 /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR' +++ case $perms in +++ : +++ echo /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR +++ return ++ test_dir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR ++ cd /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src + case $abs_path_dir_ in + PATH=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src:/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/src:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + create_exe_shims_ /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + fail=0 + diff -u /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/large-subopt.in1 /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/large-subopt.in2 + perl -n0 -e '/\n-2\n(\+L: 361\n){2}\+2\n/ and do {$e=1; last}; END{exit !$e}' + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests + chmod -R u+rwx /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR + rm -rf /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-large-subopt.ZquR + exit 1 XFAIL large-subopt (exit status: 1) SKIP: strip-trailing-cr ======================= ++ initial_cwd_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests gt-strip-trailing-cr.XXXX +++ case $# in +++ destdir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests +++ template_=gt-strip-trailing-cr.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/ +++ case $template_ in ++++ unset TMPDIR +++ d=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig +++ case $d in +++ : +++ test -d /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig ++++ ls -dgo /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig +++ perms='drwx------ 2 40 Nov 5 12:41 /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig' +++ case $perms in +++ : +++ echo /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig +++ return ++ test_dir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig ++ cd /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src + case $abs_path_dir_ in + PATH=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src:/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/src:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + create_exe_shims_ /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + fail=0 + require_valgrind_ + valgrind --error-exitcode=1 true + skip_ 'requires a working valgrind' + warn_ 'strip-trailing-cr: skipped test: requires a working valgrind' + case $IFS in + printf '%s\n' 'strip-trailing-cr: skipped test: requires a working valgrind' strip-trailing-cr: skipped test: requires a working valgrind + test 9 = 2 + printf '%s\n' 'strip-trailing-cr: skipped test: requires a working valgrind' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + test '' = yes + cd /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests + chmod -R u+rwx /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig + rm -rf /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-strip-trailing-cr.pNig + exit 77 SKIP strip-trailing-cr (exit status: 77) FAIL: colors ============ ++ initial_cwd_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests gt-colors.XXXX +++ case $# in +++ destdir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests +++ template_=gt-colors.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/ +++ case $template_ in ++++ unset TMPDIR +++ d=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 +++ case $d in +++ : +++ test -d /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 ++++ ls -dgo /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 +++ perms='drwx------ 2 40 Nov 5 12:41 /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9' +++ case $perms in +++ : +++ echo /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 +++ return ++ test_dir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 ++ cd /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src + case $abs_path_dir_ in + PATH=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src:/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/src:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + create_exe_shims_ /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + TZ=UTC0 + export TZ + fail=0 + echo a + echo b ++ diff -u a b ++ grep -F . ++ echo .000000000 + nanosecond_zeros=.000000000 + epoch='1970-01-01 00:00:00' + touch -t 197001010000.00 a b ++ printf '\033' + e=$'\E' ++ printf '\t' + tab=' ' + rs=0 + hd=1 + ad=32 + de=31 + ln=36 + returns_ 1 diff --color=auto a b + gen_exp_default + printf %s '1c1 < a --- > b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + returns_ 1 env PATH=/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/../src:/var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/src:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin TERM=dumb diff ---presume-output-tty --color=auto a b + gen_exp_default + printf %s '1c1 < a --- > b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + returns_ 1 diff --color=never a b + gen_exp_default + printf %s '1c1 < a --- > b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + returns_ 1 diff a b + gen_exp_default + printf %s '1c1 < a --- > b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + returns_ 1 diff --color=always a b + gen_exp_default_colors ++ printf '' + local 'rs=' ++ printf '' + local 'hd=' ++ printf '' + local 'ad=' ++ printf '' + local 'de=' ++ printf '' + local 'ln=' + printf %s '1c1 < a --- > b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + returns_ 1 diff -u --color=always a b + gen_exp_u + local 'epoch_plus=1970-01-01 00:00:00.000000000 +0000' ++ printf '' + local 'rs=' ++ printf '' + local 'hd=' ++ printf '' + local 'ad=' ++ printf '' + local 'de=' ++ printf '' + local 'ln=' + printf %s '--- a 1970-01-01 00:00:00.000000000 +0000 +++ b 1970-01-01 00:00:00.000000000 +0000 @@ -1 +1 @@ -a +b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + returns_ 1 diff -c --color=always a b + gen_exp_c + local 'epoch_posix_1003_1_2001=Thu Jan 1 00:00:00 1970' ++ printf '' + local 'rs=' ++ printf '' + local 'hd=' ++ printf '' + local 'ad=' ++ printf '' + local 'de=' ++ printf '' + local 'ln=' + printf %s '*** a Thu Jan 1 00:00:00 1970 --- b Thu Jan 1 00:00:00 1970 *************** *** 1 **** ! a --- 1 ---- ! b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + rs=0 + hd=33 + ad=34 + de=35 + ln=36 + returns_ 1 diff -u --color=always --palette=rs=0:hd=33:ad=34:de=35:ln=36 a b + gen_exp_u + local 'epoch_plus=1970-01-01 00:00:00.000000000 +0000' ++ printf '' + local 'rs=' ++ printf '' + local 'hd=' ++ printf '' + local 'ad=' ++ printf '' + local 'de=' ++ printf '' + local 'ln=' + printf %s '--- a 1970-01-01 00:00:00.000000000 +0000 +++ b 1970-01-01 00:00:00.000000000 +0000 @@ -1 +1 @@ -a +b ' + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + mkfifo fifo + printf %1000000s-a + printf %1000000s-b + diff --color=always ---presume-output-tty a b + head -c 10 diff: standard output: Broken pipe + test 2 = 141 + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests + chmod -R u+rwx /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 + rm -rf /var/tmp/portage/sys-apps/diffutils-3.8/work/diffutils-3.8/tests/gt-colors.kys9 + exit 1 FAIL colors (exit status: 1)