1 if test -x $DEBUGFS_EXE; then
4 TEST_DATA="$test_name.tmp"
6 echo "/ Murphy Magic. The SeCrEt of the UnIvErSe is 43, NOT 42" > $TEST_DATA
9 $MKE2FS -N 32 -F -o Linux -b 1024 $TMPFILE 100 > /dev/null 2>&1
10 $DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1
11 set_current_time 20070410210000
12 set_super_value lastcheck 0
13 set_super_value hash_seed null
14 set_super_value mkfs_time 0
31 link /dir/foo /dir2/foo1
32 link /dir/foo /dir3/foo2
33 link /dir2/bar /dir3/bar1
34 link /dir4/quux /dir/quux1
35 link /dir4/quux /dir2/quux2
36 set_inode_field /dir/foo block[0] 30
37 set_inode_field /dir2/bar block[0] 30
38 set_inode_field /dir3/baz block[0] 30
39 set_inode_field /dir/fee block[0] 34
40 set_inode_field /dir2/fie block[0] 34
41 set_inode_field /dir3/foe block[0] 34
45 E2FSCK_TIME=200704102100
52 unset E2FSCK_TIME TEST_DATA
54 else #if test -x $DEBUGFS_EXE; then
55 echo "$test_name: $test_description: skipped"