summaryrefslogtreecommitdiff
path: root/tests/f2fs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/f2fs')
-rwxr-xr-xtests/f2fs/0016
-rw-r--r--tests/f2fs/001.out2
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/f2fs/001 b/tests/f2fs/001
index c84dbde6..c02363a8 100755
--- a/tests/f2fs/001
+++ b/tests/f2fs/001
@@ -69,10 +69,8 @@ $XFS_IO_PROG -t -f -c "falloc 0 5g" $dummyfile | _filter_xfs_io
# -ENOSPC should be triggered without any panic
echo "==== change i_size & write data ===="
-$XFS_IO_PROG \
- -c "truncate 96" \
- -c "pwrite -S 0x58 8192 4096" \
-$testfile | _filter_xfs_io
+$XFS_IO_PROG -c "truncate 96" -c "pwrite -S 0x58 8192 4096" $testfile 2>&1 \
+ | _filter_xfs_io_error
echo "==== check data contents ===="
hexdump -C $testfile
diff --git a/tests/f2fs/001.out b/tests/f2fs/001.out
index 593f82aa..997aa5b2 100644
--- a/tests/f2fs/001.out
+++ b/tests/f2fs/001.out
@@ -5,7 +5,7 @@ XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
==== Fullfill the partition ====
fallocate: No space left on device
==== change i_size & write data ====
-pwrite64: No space left on device
+pwrite: No space left on device
==== check data contents ====
00000000 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 |XXXXXXXXXXXXXXXX|
*