]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,
authorTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jun 2005 19:08:00 +0000 (15:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jun 2005 19:08:00 +0000 (15:08 -0400)
f_swapfs, f_move_itable, f_resize_inode, test_config:
Allow the diff options to be set in test_config so that
diff -u can be used on platforms that have it.  (To be
done: checking whether diff can support -u in the
configure script.)

tests/ChangeLog
tests/d_loaddump/script
tests/defaults/e_script
tests/f_resize_inode/script
tests/f_swapfs/script
tests/r_move_itable/script
tests/r_resize_inode/script
tests/run_e2fsck
tests/test_config

index a1819f1e2d6448403332a27b20546a41113e5e2f..7ac2255016b5895635c069ab662a426a7b5d6c0b 100644 (file)
@@ -1,3 +1,12 @@
+2005-06-16  Theodore Ts'o  <tytso@mit.edu>
+
+       * defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,
+               f_swapfs, f_move_itable, f_resize_inode, test_config:
+               Allow the diff options to be set in test_config so that
+               diff -u can be used on platforms that have it.  (To be
+               done: checking whether diff can support -u in the
+               configure script.)
+
 2005-04-14  Theodore Ts'o  <tytso@mit.edu>
 
        * f_dup_resize: New test case
index 2fd5969eea49e5b6f067585abc922ffce1f9c14b..57f377c606cda96c655525888d3925fc06685b3a 100644 (file)
@@ -54,7 +54,7 @@ if [ "$status" = 0 ] ; then
        touch $test_name.ok
 else
        echo "failed"
-       diff -c $EXP $OUT > $test_name.failed
+       diff $DIFF_OPTS $EXP $OUT > $test_name.failed
 fi
 
 unset VERIFY_FSCK_OPT NATIVE_FSCK_OPT OUT EXP TEST_DATA VERIFY_DATA
index 3318ae71cb13d6406489de207cf1597c93f9611b..b9150ba751a01cea8bfbebe584081d4de37b0d29 100644 (file)
@@ -41,7 +41,7 @@ if [ "$status" = 0 ] ; then
     touch $test_name.ok
 else
     echo "failed"
-    diff -c $EXPECT $OUT > $test_name.failed
+    diff $DIFF_OPTS $EXPECT $OUT > $test_name.failed
 fi
 
 unset EXPECT OUT class instance
index bb4684f9ed0e2a97b40696f7504da77601072667..558bd4a0b93b506d68e5def89fdcc4c80b378f0a 100644 (file)
@@ -132,7 +132,7 @@ if [ "$status" = 0 ] ; then
        touch $test_name.ok
 else
        echo "failed"
-       diff -c $EXP $OUT > $test_name.failed
+       diff $DIFF_OPTS $EXP $OUT > $test_name.failed
        rm -f tmp_expect
 fi
 
index c41bec7e014177a8dc758585fcf469a721e2e34e..75f9fb4261b779c10781f11c201d743f8dca8b7b 100644 (file)
@@ -68,7 +68,7 @@ if $FSCK -SV > /dev/null 2>&1 ; then
            touch $test_name.ok
     else
            echo "failed"
-           diff -c $EXP $OUT > $test_name.failed
+           diff $DIFF_OPTS $EXP $OUT > $test_name.failed
     fi
     
     unset IMAGE VERIFY_FSCK_OPT SWAP_FSCK_OPT NATIVE_FSCK_OPT OUT EXP 
index 6603bb57fed66abe059b6fa4f719b0074ed328ae..fe6cbb50b3a95a777fd186308609156e724a7967 100644 (file)
@@ -103,7 +103,7 @@ if [ "$status" = 0 ] ; then
        touch $test_name.ok
 else
        echo "failed"
-       diff -c $EXP $OUT > $test_name.failed
+       diff $DIFF_OPTS $EXP $OUT > $test_name.failed
        rm -f tmp_expect
 fi
 
index ce5a1333792b9b5ca59af2cbb8b4b7c41b6bbfd7..60cf9b287422463f751f6ee44653e0db64c2b927 100644 (file)
@@ -90,7 +90,7 @@ if [ "$status" = 0 ] ; then
        touch $test_name.ok
 else
        echo "failed"
-       diff -c $EXP $OUT > $test_name.failed
+       diff $DIFF_OPTS $EXP $OUT > $test_name.failed
        rm -f tmp_expect
 fi
 
index e76bfae6099522de23819d38fd6ab11e06d254b9..0120375042bf3c472cd060d58dab623c3106ce64 100644 (file)
@@ -83,9 +83,9 @@ if [ "$SKIP_VERIFY" != "true" ] ; then
                touch $test_name.ok
        else
                echo "failed"
-               diff -c $EXP1 $OUT1 > $test_name.failed
+               diff $DIFF_OPTS $EXP1 $OUT1 > $test_name.failed
                if [ "$ONE_PASS_ONLY" != "true" ]; then
-                       diff -c $EXP2 $OUT2 >> $test_name.failed
+                       diff $DIFF_OPTS $EXP2 $OUT2 >> $test_name.failed
                fi
        fi
        rm -f tmp_expect
index 6ee2cc2934d108ad713e4770bab026e8e01bb054..a484d8b55318e6a3916cd3679148b2e8095f31b7 100644 (file)
@@ -15,6 +15,7 @@ TEST_ICOUNT=../tests/progs/test_icount
 LD_LIBRARY_PATH=../lib:../lib/ext2fs:../lib/e2p:../lib/et:../lib/ss
 DYLD_LIBRARY_PATH=../lib:../lib/ext2fs:../lib/e2p:../lib/et:../lib/ss
 TMPFILE=./test.img
+DIFF_OPTS=-c
 export LD_LIBRARY_PATH
 export DYLD_LIBRARY_PATH
 TZ=GMT