aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-08-08 15:05:01 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-08-08 15:05:01 +0200
commit3653592507eab917724112e026d4241745e0dd98 (patch)
treefcd62051cbf7b19aeba8927b032de69bc691044f /sys/linux/test
parent4207dbaa99c2012ffed271d730d864c039b359cb (diff)
pkg/runtest: assorted improvements
Support checking "blocked"/"unfinished" flags for calls. Support test constanints, e.g. "requires: threaded" or "requires: -sandbox=setuid". Some improvements in tools/syz-runtest. Update #603
Diffstat (limited to 'sys/linux/test')
-rw-r--r--sys/linux/test/fuse_deadlock7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/linux/test/fuse_deadlock b/sys/linux/test/fuse_deadlock
index fee10ac39..844bfe701 100644
--- a/sys/linux/test/fuse_deadlock
+++ b/sys/linux/test/fuse_deadlock
@@ -1,10 +1,11 @@
# Test how we avoid fuse deadlocks in kill_and_wait.
+# requires: threaded -sandbox= -C,norepeat
mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0x0)
r0 = openat$fuse(0xffffffffffffff9c, &(0x7f0000000640)='/dev/fuse\x00', 0x2, 0x0)
mount$fuse(0x0, &(0x7f0000000200)='./file0\x00', &(0x7f0000000300)='fuse\x00', 0x0, &(0x7f0000000400)={{'fd', 0x3d, r0}, 0x2c, {'rootmode', 0x3d, 0x4000}, 0x2c, {'user_id', 0x3d}, 0x2c, {'group_id', 0x3d}, 0x2c})
read$FUSE(r0, &(0x7f0000002000), 0x1000)
-pread64(r0, &(0x7f0000000540)=""/236, 0xec, 0x0)
+pread64(r0, &(0x7f0000000540)=""/236, 0xec, 0x0) # blocked
write$FUSE_INIT(r0, &(0x7f0000000100)={0x50, 0x0, 0x1, {0x7, 0x1b}}, 0x50)
-mkdirat(0xffffffffffffff9c, &(0x7f0000000500)='./file0/file0\x00', 0x0)
-write$FUSE_NOTIFY_INVAL_ENTRY(r0, &(0x7f00000000c0)={0x29, 0x3, 0x0, {0x1, 0x8, 0x0, 'group_id'}}, 0x29)
+mkdirat(0xffffffffffffff9c, &(0x7f0000000500)='./file0/file0\x00', 0x0) # unfinished
+write$FUSE_NOTIFY_INVAL_ENTRY(r0, &(0x7f00000000c0)={0x29, 0x3, 0x0, {0x1, 0x8, 0x0, 'group_id'}}, 0x29) # unfinished