Displaying 2 results from an estimated 2 matches for "jqozgj6dnx".
2020 May 20
0
[PATCH nbdkit] tests/test-truncate4.sh: Rewrite to use nbdsh.
The old test relied on issuing an asynchronous command to a qemu-io
subprocess, requiring a sleep to ensure that the command had been
carried out. ‘sleep 1’ was not long enough on s390x as you can see
from this partial trace:
+ exec
+ qemu-io -f raw nbd:unix:/tmp/tmp.jqOZGj6dnX
+ exec
+ echo 'Reading from connection A, try 1'
Reading from connection A, try 1
+ echo 'r -P 1 0 1024'
+ sleep 1
Above we issue the command and sleep while it executes. However:
nbdkit: debug: accepted connection
nbdkit: file[1]: debug: truncate: pre...
2020 May 20
2
[PATCH nbdkit] tests/test-truncate4.sh: Rewrite to use nbdsh.
This commit works for me, but TBH I'm not clear on what the actual
purpose of this test is supposed to be.
Rich.