diff options
author | Glenn Washburn <development@efficientek.com> | 2020-08-28 18:30:25 -0500 |
---|---|---|
committer | Daniel Kiper <daniel.kiper@oracle.com> | 2020-09-18 22:31:30 +0200 |
commit | 8471d8e254a3f01949c489a4c554b77a090cf010 (patch) | |
tree | 785b723c03e1bad604b46fe5c7feefd7ba2dbd5f | |
parent | 3ec59f14f43e9edf594581b6b3f054ec39dd131d (diff) |
tests: F2FS test should use MOUNTDEVICE like other tests
LODEVICES is not an array variable and should not be accessed as such.
This allows the f2fs test to pass as it was failing because a device
name had a space prepended to the path.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Acked-by: Jaegeuk Kim <jaegeuk@kernel.org>
Tested-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
-rw-r--r-- | tests/util/grub-fs-tester.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index bc14a05ca..bfc425e1f 100644 --- a/tests/util/grub-fs-tester.in +++ b/tests/util/grub-fs-tester.in @@ -796,7 +796,7 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do MOUNTFS=ext2 "mkfs.ext2" -L "$FSLABEL" -q "${MOUNTDEVICE}" ;; xf2fs) - "mkfs.f2fs" -l "$FSLABEL" -q "${LODEVICES[0]}" ;; + "mkfs.f2fs" -l "$FSLABEL" -q "${MOUNTDEVICE}" ;; xnilfs2) "mkfs.nilfs2" -L "$FSLABEL" -b $BLKSIZE -q "${MOUNTDEVICE}" ;; xext2_old) |