grub-fs-tester: Fix mkudffs invocation.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 2 Feb 2017 22:32:38 +0000 (23:32 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 2 Feb 2017 22:32:38 +0000 (23:32 +0100)
With current invocation order of arguments is wrong and path is hardcoded.

tests/util/grub-fs-tester.in

index ad65e81..9fa9ce0 100644 (file)
@@ -654,7 +654,7 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
                    MOUNTOPTS="iocharset=utf8,compression,"
                    MOUNTFS="ntfs-3g";;
                x"udf")
-                   "/usr/bin/mkudffs" -b $BLKSIZE --utf8 --lvid="$FSLABEL" "${LODEVICES[0]}"
+                   "mkudffs" --utf8 -b $BLKSIZE --lvid="$FSLABEL" "${LODEVICES[0]}"
                    MOUNTOPTS="iocharset=utf8,bs=$BLKSIZE,";;
                x"ufs2")
                    "mkfs.ufs" -b $BLKSIZE -L "$FSLABEL" -O 2 "${LODEVICES[0]}"