mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-07 00:26:59 +00:00
In older versions of coreutils, quoted strings are occasionally output using utf-8 open/close single quotes. New versions of coreutils will exclusively use the ASCII single quote character "'" when the output is not a TTY - as is the case with all test scripts. We can avoid most of these problems by always setting LC_ALL=C in testing, however. Signed-off-by: Auke Kok <auke.kok@versity.com>
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
== create files
|
|
== waiter shows up in ioctl
|
|
offline waiting should be empty:
|
|
0
|
|
offline waiting should now have one known entry:
|
|
== multiple waiters on same block listed once
|
|
offline waiting still has one known entry:
|
|
== different blocks show up
|
|
offline waiting now has two known entries:
|
|
== staging wakes everyone
|
|
offline waiting should be empty again:
|
|
0
|
|
== interruption does no harm
|
|
offline waiting should now have one known entry:
|
|
offline waiting should be empty again:
|
|
0
|
|
== EIO injection for waiting readers works
|
|
offline waiting should now have two known entries:
|
|
2
|
|
data_wait_err found 2 waiters.
|
|
offline waiting should now have 0 known entries:
|
|
0
|
|
dd: error reading '/mnt/test/test/offline-extent-waiting/dir/file': Input/output error
|
|
0+0 records in
|
|
0+0 records out
|
|
dd: error reading '/mnt/test/test/offline-extent-waiting/dir/file': Input/output error
|
|
0+0 records in
|
|
0+0 records out
|
|
offline waiting should be empty again:
|
|
0
|
|
== readahead while offline does no harm
|
|
== waiting on interesting blocks works
|
|
offline waiting is empty at block 0
|
|
0
|
|
offline waiting is empty at block 1
|
|
0
|
|
offline waiting is empty at block 128
|
|
0
|
|
offline waiting is empty at block 129
|
|
0
|
|
offline waiting is empty at block 254
|
|
0
|
|
offline waiting is empty at block 255
|
|
0
|
|
== contents match when staging blocks forward
|
|
== contents match when staging blocks backwards
|
|
== truncate to same size doesn't wait
|
|
offline wating should be empty:
|
|
0
|
|
== truncating does wait
|
|
truncate should be waiting for first block:
|
|
trunate should no longer be waiting:
|
|
0
|
|
== writing waits
|
|
should be waiting for write
|
|
== cleanup
|