diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-07-09 12:08:10 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-07-09 12:08:10 -0400 |
commit | b4db1e4c7461a50e18c9fd135b9f1ba6f27e4390 (patch) | |
tree | 81789569aecb98c46a1e815461f946245c835241 /tests/f_resize_inode/script | |
parent | 0bd0e5932046401049502ee99529b984d7cd316e (diff) | |
download | e2fsprogs-b4db1e4c7461a50e18c9fd135b9f1ba6f27e4390.tar.gz |
tests: use /tmp for scratch files
The /tmp directory is often a memory based file system, and using this
can speed up running the regression test suite.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/f_resize_inode/script')
-rw-r--r-- | tests/f_resize_inode/script | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/f_resize_inode/script b/tests/f_resize_inode/script index 75d90fee..327f41ba 100644 --- a/tests/f_resize_inode/script +++ b/tests/f_resize_inode/script @@ -26,7 +26,7 @@ rm -f $OUT.new echo ----------------------------------------------- >> $OUT echo " " >> $OUT -echo "debugfs -R ''set_inode_field <7> block[2] 42'' -w $TMPFILE" > $OUT.new +echo "debugfs -R ''set_inode_field <7> block[2] 42'' -w test.img" > $OUT.new $DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1 status=$? echo Exit status is $status >> $OUT.new @@ -47,7 +47,7 @@ rm -f $OUT.new echo ----------------------------------------------- >> $OUT echo " " >> $OUT -echo "debugfs -R ''clri <7>'' -w $TMPFILE" > $OUT.new +echo "debugfs -R ''clri <7>'' -w test.img" > $OUT.new $DEBUGFS -R "clri <7>" -w $TMPFILE >> $OUT.new 2>&1 status=$? echo Exit status is $status >> $OUT.new @@ -68,7 +68,7 @@ rm -f $OUT.new echo ----------------------------------------------- >> $OUT echo " " >> $OUT -echo "debugfs -R ''set_inode_field <7> bmap[524] 57'' -w $TMPFILE" > $OUT.new +echo "debugfs -R ''set_inode_field <7> bmap[524] 57'' -w test.img" > $OUT.new $DEBUGFS -R "set_inode_field <7> bmap[524] 57" -w $TMPFILE >> $OUT.new 2>&1 status=$? echo Exit status is $status >> $OUT.new @@ -89,7 +89,7 @@ rm -f $OUT.new echo ----------------------------------------------- >> $OUT echo " " >> $OUT -echo "debugfs -R ''set_super_value reserved_gdt_blocks 15679'' -w $TMPFILE" > $OUT.new +echo "debugfs -R ''set_super_value reserved_gdt_blocks 15679'' -w test.img" > $OUT.new $DEBUGFS -R "set_super_value reserved_gdt_blocks 15679" -w $TMPFILE >> $OUT.new 2>&1 status=$? echo Exit status is $status >> $OUT.new @@ -104,7 +104,7 @@ rm -f $OUT.new echo ----------------------------------------------- >> $OUT echo " " >> $OUT -echo "debugfs -R ''set_super_value reserved_gdt_blocks 32'' -w $TMPFILE" > $OUT.new +echo "debugfs -R ''set_super_value reserved_gdt_blocks 32'' -w test.img" > $OUT.new $DEBUGFS -R "set_super_value reserved_gdt_blocks 32" -w $TMPFILE >> $OUT.new 2>&1 status=$? echo Exit status is $status >> $OUT.new |