X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=blobdiff_plain;f=062;h=329a45b14ad5ecf6d2781b042a14b768ad617261;hp=d7dbe289aaa881b286d63f600a9e00c66785869c;hb=8cb9a67668b5b76f0757166350720f3cb1452d9f;hpb=5724cb9519eb40709cb491a69e2e2d1dd5484d12 diff --git a/062 b/062 index d7dbe289..329a45b1 100755 --- a/062 +++ b/062 @@ -73,6 +73,18 @@ _create_test_bed() 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"