Retired until V1 directory code gets fixed up.
[xfstests-dev.git] / 019
diff --git a/019 b/019
index bef42b00fff6a7cc309e0d34e48af17aff5d2fd1..cafb9345911269261d4cb11d09d40689cbb02aee 100755 (executable)
--- a/019
+++ b/019
@@ -5,7 +5,7 @@
 # mkfs protofile test
 #
 #-----------------------------------------------------------------------
-# Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
+# Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.
 # 
 # This program is free software; you can redistribute it and/or modify it
 # under the terms of version 2 of the GNU General Public License as
@@ -50,6 +50,8 @@ status=1      # failure is the default!
 . ./common.rc
 . ./common.filter
 
+_notrun "Retired until V1 directory code gets fixed up"
+
 _cleanup()
 {
     echo "*** unmount"
@@ -73,6 +75,7 @@ _filter_stat()
         /^Change:/d;
         s/Device: *[0-9][0-9]*,[0-9][0-9]*/Device: <DEVICE>/;
         s/Inode: *[0-9][0-9]*/Inode: <INODE>/;
+        s/Size: *[0-9][0-9]* *Filetype: Dir/Size: <DSIZE> Filetype: Dir/;
     ' | tr -s ' '
 }
 
@@ -127,9 +130,9 @@ _verify_fs()
        umount $SCRATCH_DEV >/dev/null 2>&1
 
        _full "mkfs"
-       mkfs -t xfs -f $VERSION -p $protofile $SCRATCH_DEV >>$seqfull 2>&1 \
-               || _fail "mkfs failed"
-           
+       mkfs_xfs $VERSION -p $protofile $SCRATCH_DEV >>$seqfull 2>&1 \
+               || _fail "mount failed"
+
        echo "*** check FS"
        _check_fs $SCRATCH_DEV
 
@@ -137,7 +140,7 @@ _verify_fs()
        _full " mount"
        mount -t xfs $SCRATCH_DEV $SCRATCH_MNT >>$seqfull 2>&1 \
                || _fail "mount failed"
-           
+    
        echo "*** verify FS"
        (cd $SCRATCH_MNT ; find . | sort \
                | xargs $here/src/lstat64 | _filter_stat)