Show More
@@ -27,6 +27,8 b' Dummy extension simulating unsafe long r' | |||
|
27 | 27 | > with ui.uninterruptible(): |
|
28 | 28 | > testing.write_file(sync_file, b'%d' % os.getpid()) |
|
29 | 29 | > testing.wait_file(done_file) |
|
30 | > # make sure we get rescheduled and the signal get a chance to be handled | |
|
31 | > time.sleep(0.1) | |
|
30 | 32 | > ui.warn(b"end of unsafe operation\n") |
|
31 | 33 | > ui.warn(b"%d second(s) passed\n" % int(time.time() - start)) |
|
32 | 34 | > EOF |
@@ -40,6 +42,7 b' Dummy extension simulating unsafe long r' | |||
|
40 | 42 | > fi |
|
41 | 43 | > "$RUNTESTDIR/testlib/wait-on-file" 10 "$SYNC_FILE" || exit 2 |
|
42 | 44 | > kill -s \$SIG \`cat "$SYNC_FILE"\` |
|
45 | > sleep 1 | |
|
43 | 46 |
|
|
44 | 47 | > EOF |
|
45 | 48 |
General Comments 0
You need to be logged in to leave comments.
Login now