generic/486: filter out irrelevant attrs
[xfstests-dev.git] / tests / generic / 486
index ff115a07a62742cbe537efcb0f81d9150f20010e..ea571efeda7670367bb8b22cae86e928734c1db6 100755 (executable)
@@ -46,10 +46,12 @@ _scratch_mkfs >>$seqres.full 2>&1
 _scratch_mount >>$seqres.full 2>&1
 
 filter_attr_output() {
-       _filter_scratch | sed -e 's/has a [0-9]* byte value/has a NNNN byte value/g'
+       _filter_scratch | grep world | \
+               sed -e 's/has a [0-9]* byte value/has a NNNN byte value/g'
 }
 
 ./src/attr_replace_test $SCRATCH_MNT/hello
+$ATTR_PROG -l $SCRATCH_MNT/hello >>$seqres.full 2>&1
 $ATTR_PROG -l $SCRATCH_MNT/hello | filter_attr_output
 
 status=0