From: Jim Meyering Date: Sun, 18 Feb 2001 08:50:29 +0000 (+0000) Subject: rename test input files to avoid conflicts on case-insensitive file systems X-Git-Tag: FILEUTILS-4_0_41~6 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=7446097d1a678524eeb06827da166386826d23e2;p=thirdparty%2Fcoreutils.git rename test input files to avoid conflicts on case-insensitive file systems --- diff --git a/tests/pr/2S_f-t_notab b/tests/pr/2-S_f-t_notab similarity index 100% rename from tests/pr/2S_f-t_notab rename to tests/pr/2-S_f-t_notab diff --git a/tests/pr/2Sf-t_notab b/tests/pr/2-Sf-t_notab similarity index 100% rename from tests/pr/2Sf-t_notab rename to tests/pr/2-Sf-t_notab diff --git a/tests/pr/Makefile.am b/tests/pr/Makefile.am index 727a0d63a1..ae3388d8eb 100644 --- a/tests/pr/Makefile.am +++ b/tests/pr/Makefile.am @@ -2,17 +2,17 @@ ##test-files-begin x = pr -explicit = 0F 0FF 0FFnt 0FFt 0FnFnt 0FnFt 0Fnt 0Ft 2S_f-t_notab 2Sf-t_notab \ +explicit = 0F 0FF 0FFnt 0FFt 0FnFnt 0FnFt 0Fnt 0Ft 2-S_f-t_notab 2-Sf-t_notab \ 2f-t_notab 2s_f-t_notab 2s_w60f-t_nota 2sf-t_notab 2sw60f-t_notab \ 2w60f-t_notab 3-0F 3-5l17f-t 3-FF 3a2l17-FF 3a3f-0F 3a3l15-t 3a3l8f-t \ 3b2l17-FF 3b3f-0F 3b3f-0FF 3b3f-FF 3b3l15-t 3b3l8f-t 3f-0F 3f-FF 3l17f-t \ 3l24-t 3ml17f-t 3ml24-FF 3ml24-t 3ml24-t-FF 4-7l24-FF 4l24-FF FF FFn FFtn \ -FnFn Ja3l17f-lm Jb3l17f-lm Jml17f-lm-lo W20l17f-ll W26l17f-ll W27l17f-ll \ -W28l17f-ll W35Ja3l17f-lm W35Jb3l17f-lm W35Jml17f-lmlo W35a3l17f-lm \ -W35b3l17f-lm W35ml17f-lm-lo W72Jl17f-ll W72l17f-ll a2l15-FF a2l17-FF a3-0F \ -a3f-0F a3f-0FF a3f-FF a3l15-t a3l17f-lm a3l8f-t b2l15-FF b2l17-FF b3-0F \ -b3f-0F b3f-0FF b3f-FF b3l15-t b3l17f-lm b3l8f-t l17f-t l24-FF l24-t loli \ -ml17f-0F ml17f-lm-lo ml17f-t ml17f-t-0F ml20-FF-t ml24-FF ml24-t ml24-t-FF \ +FnFn Ja3l17f-lm Jb3l17f-lm Jml17f-lm-lo W-72l17f-ll W20l17f-ll W26l17f-ll \ +W27l17f-ll W28l17f-ll W35Ja3l17f-lm W35Jb3l17f-lm W35Jml17f-lmlo W35a3l17f-lm \ +W35b3l17f-lm W35ml17f-lm-lo W72Jl17f-ll a2l15-FF a2l17-FF a3-0F a3f-0F \ +a3f-0FF a3f-FF a3l15-t a3l17f-lm a3l8f-t b2l15-FF b2l17-FF b3-0F b3f-0F \ +b3f-0FF b3f-FF b3l15-t b3l17f-lm b3l8f-t l17f-t l24-FF l24-t loli ml17f-0F \ +ml17f-lm-lo ml17f-t ml17f-t-0F ml20-FF-t ml24-FF ml24-t ml24-t-FF \ n+2-5l17f-0FF n+2l17f-0FF n+2l17f-bl n+3-7l24-FF n+3l17f-0FF n+3l17f-bl \ n+3ml13f-bl-FF n+3ml17f-bl-tn n+3ml17f-tn-bl n+4-8a2l17-FF n+4b2l10f-0FF \ n+5-8b3l10f-FF n+5a3l6f-0FF n+6a2l17-FF n+6b3l6f-FF n+7l24-FF n+8l20-FF \ diff --git a/tests/pr/W72l17f-ll b/tests/pr/W-72l17f-ll similarity index 100% rename from tests/pr/W72l17f-ll rename to tests/pr/W-72l17f-ll diff --git a/tests/pr/pr-tests b/tests/pr/pr-tests index 9c0ebca043..d5be331cae 100755 --- a/tests/pr/pr-tests +++ b/tests/pr/pr-tests @@ -3318,14 +3318,14 @@ if test $code != 0; then $echo "Test 10wc failed: ../../src/pr return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else - cmp 10wc.O $srcdir/W72l17f-ll > /dev/null 2>&1 + cmp 10wc.O $srcdir/W-72l17f-ll > /dev/null 2>&1 case $? in 0) if test "$VERBOSE"; then $echo "passed 10wc"; fi;; - 1) $echo "Test 10wc failed: files 10wc.O and $srcdir/W72l17f-ll differ" 1>&2 - (diff -c 10wc.O $srcdir/W72l17f-ll) 2> /dev/null + 1) $echo "Test 10wc failed: files 10wc.O and $srcdir/W-72l17f-ll differ" 1>&2 + (diff -c 10wc.O $srcdir/W-72l17f-ll) 2> /dev/null errors=`expr $errors + 1`;; 2) $echo "Test 10wc may have failed." 1>&2 - $echo The command "cmp 10wc.O $srcdir/W72l17f-ll" failed. 1>&2 + $echo The command "cmp 10wc.O $srcdir/W-72l17f-ll" failed. 1>&2 errors=`expr $errors + 1`;; esac fi @@ -4254,14 +4254,14 @@ if test $code != 0; then $echo "Test 14g failed: ../../src/pr return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else - cmp 14g.O $srcdir/2Sf-t_notab > /dev/null 2>&1 + cmp 14g.O $srcdir/2-Sf-t_notab > /dev/null 2>&1 case $? in 0) if test "$VERBOSE"; then $echo "passed 14g"; fi;; - 1) $echo "Test 14g failed: files 14g.O and $srcdir/2Sf-t_notab differ" 1>&2 - (diff -c 14g.O $srcdir/2Sf-t_notab) 2> /dev/null + 1) $echo "Test 14g failed: files 14g.O and $srcdir/2-Sf-t_notab differ" 1>&2 + (diff -c 14g.O $srcdir/2-Sf-t_notab) 2> /dev/null errors=`expr $errors + 1`;; 2) $echo "Test 14g may have failed." 1>&2 - $echo The command "cmp 14g.O $srcdir/2Sf-t_notab" failed. 1>&2 + $echo The command "cmp 14g.O $srcdir/2-Sf-t_notab" failed. 1>&2 errors=`expr $errors + 1`;; esac fi @@ -4290,14 +4290,14 @@ if test $code != 0; then $echo "Test 14i failed: ../../src/pr return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else - cmp 14i.O $srcdir/2S_f-t_notab > /dev/null 2>&1 + cmp 14i.O $srcdir/2-S_f-t_notab > /dev/null 2>&1 case $? in 0) if test "$VERBOSE"; then $echo "passed 14i"; fi;; - 1) $echo "Test 14i failed: files 14i.O and $srcdir/2S_f-t_notab differ" 1>&2 - (diff -c 14i.O $srcdir/2S_f-t_notab) 2> /dev/null + 1) $echo "Test 14i failed: files 14i.O and $srcdir/2-S_f-t_notab differ" 1>&2 + (diff -c 14i.O $srcdir/2-S_f-t_notab) 2> /dev/null errors=`expr $errors + 1`;; 2) $echo "Test 14i may have failed." 1>&2 - $echo The command "cmp 14i.O $srcdir/2S_f-t_notab" failed. 1>&2 + $echo The command "cmp 14i.O $srcdir/2-S_f-t_notab" failed. 1>&2 errors=`expr $errors + 1`;; esac fi