xfs_attr is now called attr
[xfstests-dev.git] / 021
diff --git a/021 b/021
index ac711b4154e3c4ea7a804a98c4e2aba260ed5ca4..e2eeb19a8564dd02db0885d1105e6b666ea9ea67 100755 (executable)
--- a/021
+++ b/021
@@ -59,12 +59,12 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _s()
 {
-    echo $2 | xfs_attr -s $1 $testfile >/dev/null
+    echo $2 | attr -s $1 $testfile >/dev/null
 }
 
 _attr()
 {
-    xfs_attr $* 2>$tmp.err >$tmp.out
+    attr $* 2>$tmp.err >$tmp.out
     exit=$?
     sed "s#$SCRATCH_MNT[^ .:]*#<TESTFILE>#g; s#$tmp[^ :]*#<TMPFILE>#g;" $tmp.out
     sed "s#$SCRATCH_MNT[^ .:]*#<TESTFILE>#g; s#$tmp[^ :]*#<TMPFILE>#g;" $tmp.err 1>&2