summaryrefslogtreecommitdiff
path: root/tests/f_dup_de
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-01-13 04:23:24 +0100
committerMatthias Andree <matthias.andree@gmx.de>2005-01-13 04:23:24 +0100
commitae181fb473cf7414241d535f064dcfff0e04b23e (patch)
tree8324bb9e218463f00b3cad2fcc6ebad723d2127d /tests/f_dup_de
parentf892826b8d25369ea513dd8d1c7e714f23dabf99 (diff)
downloade2fsprogs-ae181fb473cf7414241d535f064dcfff0e04b23e.tar.gz
f_dup_de, r_resize_inode: change ">& /dev/null" to ">/dev/null 2>&1"
for compatibility with FreeBSD. In $DEBUGFS commands, move the -R arg argument first so that systems with non-GNU getopt() can see the request argument (they would otherwise stop parsing at the first non-option argument).
Diffstat (limited to 'tests/f_dup_de')
-rw-r--r--tests/f_dup_de/script2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/f_dup_de/script b/tests/f_dup_de/script
index ee583f3a..0cef9baa 100644
--- a/tests/f_dup_de/script
+++ b/tests/f_dup_de/script
@@ -1,6 +1,6 @@
if test "$HTREE"x = x -o "$HTREE_CLR"x = yx; then
gunzip < $test_dir/image.gz > $TMPFILE
- $DEBUGFS -w -R "feature ^dir_index" $TMPFILE >& /dev/null
+ $DEBUGFS -w -R "feature ^dir_index" $TMPFILE >/dev/null 2>&1
gzip $TMPFILE
IMAGE="$TMPFILE".gz
EXP1=$test_dir/expect-nohtree.1