~ubuntu-branches/ubuntu/edgy/e2fsprogs/edgy-security

« back to all changes in this revision

Viewing changes to tests/d_loaddump/script

  • Committer: Bazaar Package Importer
  • Author(s): Tollef Fog Heen
  • Date: 2005-08-23 10:42:10 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050823104210-t15igvmgrkzea0dq
Tags: 1.38-2ubuntu1
* Merge with Debian.  (Ubuntu #13757)
* Remove tests/f_bad_disconnected_inode/image.gz to be able to build the
  package.  This will (hopefully) be in the next upstream version and is
  just used for testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
status=$?
16
16
echo Exit status is $status >> $OUT
17
17
 
18
 
dd if=$DEBUGFS of=$TEST_DATA bs=128k count=1 conv=sync > /dev/null 2>&1 
 
18
dd if=$TEST_BITS of=$TEST_DATA bs=128k count=1 conv=sync > /dev/null 2>&1 
19
19
echo "file fragment odd size" >> $TEST_DATA
20
20
 
21
21
echo "debugfs -R ''write $TEST_DATA test_data'' -w $TMPFILE" > $OUT.new
54
54
        touch $test_name.ok
55
55
else
56
56
        echo "failed"
57
 
        diff -c $EXP $OUT > $test_name.failed
 
57
        diff $DIFF_OPTS $EXP $OUT > $test_name.failed
58
58
fi
59
59
 
60
60
unset VERIFY_FSCK_OPT NATIVE_FSCK_OPT OUT EXP TEST_DATA VERIFY_DATA