From 8f253cf43d4723cbcf81baf61570c479022227b9 Mon Sep 17 00:00:00 2001 From: Steve Lord Date: Fri, 19 Jan 2001 17:15:32 +0000 Subject: [PATCH] xfs_attr is now called attr --- 020 | 8 ++++---- 021 | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/020 b/020 index d9faaab5..eeec318f 100755 --- a/020 +++ b/020 @@ -60,7 +60,7 @@ _filter() _attr() { - xfs_attr $* 2>$tmp.err >$tmp.out + attr $* 2>$tmp.err >$tmp.out exit=$? _filter $tmp.out _filter $tmp.err 1>&2 @@ -149,7 +149,7 @@ echo "*** add lots of attributes" v=0 while [ $v -lt 1000 ] do - echo "value_$v" | xfs_attr -s "attribute_$v" $testfile >/dev/null + echo "value_$v" | attr -s "attribute_$v" $testfile >/dev/null if [ $? -ne 0 ] then echo "!!! failed to add \"attribute_$v\"" @@ -161,14 +161,14 @@ done echo "*** check" # don't print it all out... -xfs_attr -l $testfile \ +attr -l $testfile \ | $AWK_PROG '{ l++ } END {print " *** " l " attribute(s)" }' echo "*** remove lots of attributes" v=0 while [ $v -lt 1000 ] do - if ! xfs_attr -r "attribute_$v" $testfile >/dev/null + if ! attr -r "attribute_$v" $testfile >/dev/null then echo "!!! failed to add \"attribute_$v\"" exit 1 diff --git a/021 b/021 index ac711b41..e2eeb19a 100755 --- 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[^ .:]*##g; s#$tmp[^ :]*##g;" $tmp.out sed "s#$SCRATCH_MNT[^ .:]*##g; s#$tmp[^ :]*##g;" $tmp.err 1>&2 -- 2.30.2