Skip to contentSkip to conversation

Fix for misc/fallocate test build failure.

PATCH Applied Chris Hofstaedtler 2 participants 2 messages May 5, 2020 – May 6, 2020 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix for misc/fallocate test build failure.

From: Mark Hindley <[email protected]>

This was already a known possible failure case. However, in the migration to a clearer separation of stdout and stderr in the testsuite, the logfile used to detect the failure was not updated.

---
 tests/ts/misc/fallocate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/ts/misc/fallocate +1 -1
index 2f77ee928..ec3d2d2f8 100755
@@ -30,7 +30,7 @@ else
 	# fs type of $TS_OUTDIR, could be used to skip this test early
 	fs_type=$(${TS_CMD_FINDMNT} -n -o FSTYPE -T ${TS_OUTDIR})
 
-	grep -qi "fallocate: fallocate failed:.*not supported" $TS_OUTPUT \
+	grep -qi "fallocate: fallocate failed:.*not supported" $TS_ERRLOG \
 		&& ts_skip "'${fs_type}' not supported"
 fi
 
Signature · 1 line
2.20.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Chris Hofstaedtler
 tests/ts/misc/fallocate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com