The 'fallocate -l 196608 $image' step in the test fails when $image is on an NFS mount. Use dd instead to create a sparse file. We do not need to allocate anything since we are only writing zeros.
Cc: Dave Jiang <[email protected]> Signed-off-by: Dan Williams <[email protected]> --- test/firmware-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/firmware-update.sh b/test/firmware-update.sh index 0d5bcdb3cc42..173647218c28 100755 --- a/test/firmware-update.sh +++ b/test/firmware-update.sh @@ -49,7 +49,7 @@ detect() do_tests() { - fallocate -l 196608 $image + dd if=/dev/zero of=$image bs=1 count=1 skip=196607 $ndctl update-firmware -d $dev -f $image } _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
