make output deterministic for all QA hosts.
[xfstests-dev.git] / 062
diff --git a/062 b/062
index d7dbe289aaa881b286d63f600a9e00c66785869c..329a45b14ad5ecf6d2781b042a14b768ad617261 100755 (executable)
--- a/062
+++ b/062
@@ -73,6 +73,18 @@ _create_test_bed()
        find $SCRATCH_MNT | LC_COLLATE=POSIX sort
 }
 
        find $SCRATCH_MNT | LC_COLLATE=POSIX sort
 }
 
+getfattr()
+{
+       /usr/bin/getfattr $@ | sed -e \
+               "s/$SCRATCH_MNT/SCRATCH_MNT/g"
+}
+
+setfattr()
+{
+       /usr/bin/setfattr $@ | sed -e \
+               "s/$SCRATCH_MNT/SCRATCH_MNT/g"
+}
+
 _require_scratch
 [ -x /usr/bin/getfattr ] || _notrun "getfattr is not installed"
 [ -x /usr/bin/setfattr ] || _notrun "setfattr is not installed"
 _require_scratch
 [ -x /usr/bin/getfattr ] || _notrun "getfattr is not installed"
 [ -x /usr/bin/setfattr ] || _notrun "setfattr is not installed"