From: Gabriel Krisman Bertazi Date: Wed, 11 May 2022 16:33:40 +0000 (-0400) Subject: casefold: Fix expansion of seqres variable X-Git-Tag: v2022.05.15~13 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7a2adb8f44e5a63875c6d10f94ca7427f27a8148;p=users%2Fhch%2Fxfstests-dev.git casefold: Fix expansion of seqres variable seqres is not properly expanded on these error paths, causing a file called seqres.full to be created instead. Signed-off-by: Gabriel Krisman Bertazi Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/common/casefold b/common/casefold index 9172d8181..d9126f4c5 100644 --- a/common/casefold +++ b/common/casefold @@ -25,7 +25,7 @@ _require_scratch_casefold() _notrun "$FSTYP does not support casefold feature" fi - if ! _scratch_mkfs_casefold &>>seqres.full; then + if ! _scratch_mkfs_casefold &>> $seqres.full ; then _notrun "$FSTYP userspace tools do not support casefold" fi @@ -33,7 +33,7 @@ _require_scratch_casefold() # defined by the userspace tools. This will fail if # the userspace tool used a more recent encoding than the one # supported in kernel space. - if ! _try_scratch_mount &>>seqres.full; then + if ! _try_scratch_mount &>> $seqres.full ; then _notrun "kernel can't mount filesystem with the encoding set by userspace" fi _scratch_unmount