mirror of https://github.com/vitalif/e2fsprogs
tests: use tar xf -, some tars default to tape dev.
FreeBSD's tar defaults to reading from /dev/sa0 when no -f option is given, so turn "tar x" into "tar xf -" on j_corrupt_ext_jnl_sb_*. Signed-off-by: Matthias Andree <matthias.andree@gmx.de> Signed-off-by: Theodore Ts'o <tytso@mit.edu>debian
parent
2832fd8b8f
commit
254c50ff5f
|
@ -9,7 +9,7 @@ fi
|
|||
|
||||
cp /dev/null $OUT
|
||||
|
||||
bzip2 -dc < $test_dir/image.tar.bz2 | tar x
|
||||
bzip2 -dc < $test_dir/image.tar.bz2 | tar xf -
|
||||
test -d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img "$JOURNAL_DUMP_DIR/$test_name.img"
|
||||
test -d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img.jnl "$JOURNAL_DUMP_DIR/$test_name.img.jnl"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ fi
|
|||
|
||||
cp /dev/null $OUT
|
||||
|
||||
bzip2 -dc < $test_dir/image.tar.bz2 | tar x
|
||||
bzip2 -dc < $test_dir/image.tar.bz2 | tar xf -
|
||||
test -d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img "$JOURNAL_DUMP_DIR/$test_name.img"
|
||||
test -d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img.jnl "$JOURNAL_DUMP_DIR/$test_name.img.jnl"
|
||||
|
||||
|
|
Loading…
Reference in New Issue