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>
This commit is contained in:
parent
3ec59f14f4
commit
8471d8e254
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do
|
||||||
MOUNTFS=ext2
|
MOUNTFS=ext2
|
||||||
"mkfs.ext2" -L "$FSLABEL" -q "${MOUNTDEVICE}" ;;
|
"mkfs.ext2" -L "$FSLABEL" -q "${MOUNTDEVICE}" ;;
|
||||||
xf2fs)
|
xf2fs)
|
||||||
"mkfs.f2fs" -l "$FSLABEL" -q "${LODEVICES[0]}" ;;
|
"mkfs.f2fs" -l "$FSLABEL" -q "${MOUNTDEVICE}" ;;
|
||||||
xnilfs2)
|
xnilfs2)
|
||||||
"mkfs.nilfs2" -L "$FSLABEL" -b $BLKSIZE -q "${MOUNTDEVICE}" ;;
|
"mkfs.nilfs2" -L "$FSLABEL" -b $BLKSIZE -q "${MOUNTDEVICE}" ;;
|
||||||
xext2_old)
|
xext2_old)
|
||||||
|
|
Loading…
Reference in a new issue