]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
Fixed general IRIX/Linux problems when running the -udf option.
authorptools <ptools>
Fri, 9 Jul 2004 04:04:14 +0000 (04:04 +0000)
committerptools <ptools>
Fri, 9 Jul 2004 04:04:14 +0000 (04:04 +0000)
Changed specific _scratch_xfs_mkfs to general _scratch_mkfs call.

check
common
common.config
common.rc

diff --git a/check b/check
index ba98ea9fd51f56bb67203f799a01a269bf1a9bb5..4d97229e7a083cf394653bec5ed207fc081ba78a 100755 (executable)
--- a/check
+++ b/check
@@ -171,14 +171,14 @@ MOUNT_OPTIONS -- $FULL_MOUNT_OPTIONS
 EOF
 
 umount $SCRATCH_DEV 2>/dev/null
-# call the overridden mkfs.xfs - make sure the FS is built
+# call the overridden mkfs - make sure the FS is built
 # the same as we'll create it later.
 
-if ! _scratch_mkfs_xfs $flag >$tmp.err 2>&1
+if ! _scratch_mkfs $flag >$tmp.err 2>&1
 then
-    echo "our local _scratch_mkfs_xfs routine ..."
+    echo "our local _scratch_mkfs routine ..."
     cat $tmp.err
-    echo "check: failed to mkfs.xfs \$SCRATCH_DEV using specified options"
+    echo "check: failed to mkfs \$SCRATCH_DEV using specified options"
     exit 1
 fi
 
diff --git a/common b/common
index 736500aa56beb672dc4345564818f6d1a251e4a4..225942f429f7025ec721a8b1f211aad272adc913 100644 (file)
--- a/common
+++ b/common
@@ -319,7 +319,7 @@ case "$FSTYP" in
         [ "$MKFS_XFS_PROG" = "" ] && _fatal "mkfs_xfs not found" 
         ;;
     udf)
-        [ "$MKFS_UDF_PROG" = "" ] && _fatal "mkfs_udf not found"
+        [ "$MKFS_UDF_PROG" = "" ] && _fatal "mkfs_udf/mkudffs not found"
         ;;
     nfs)
         ;;
index 43acb535d7e9060c8ab6e6739818d40d0c41da34..63735098c4bf35fbb079a25e5f14df2179daa408 100644 (file)
@@ -167,7 +167,7 @@ case "$HOSTOS" in
           ;;
     Linux)
           export MKFS_XFS_PROG="`set_prog_path mkfs.xfs`"
-          export MKFS_UDF_PROG="`set_prog_path mkfs.udf`"
+          export MKFS_UDF_PROG="`set_prog_path mkudffs`"
           export XFS_FSR_PROG="`set_prog_path xfs_fsr`"
           export MKFS_NFS_PROG="false" 
           ;;
index d7b71b327674a6ea47eac5805543caa432aa5abf..ce4254e8885a775392cd3f8a922ec50dcaa6457e 100644 (file)
--- a/common.rc
+++ b/common.rc
@@ -187,7 +187,7 @@ _scratch_mkfs()
        # do nothing for nfs
        ;;
     udf*)
-        $MKFS_PROG -t $FSTYP $MKFS_OPTIONS $* > /dev/null
+        $MKFS_UDF_PROG $MKFS_OPTIONS $* $SCRATCH_DEV > /dev/null
        ;;
     *)
        /sbin/mkfs -t $FSTYP $MKFS_OPTIONS $* $SCRATCH_DEV > /dev/null