summaryrefslogtreecommitdiffstats
path: root/tests/50-sim-hash_collision.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/50-sim-hash_collision.tests')
-rw-r--r--tests/50-sim-hash_collision.tests18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/50-sim-hash_collision.tests b/tests/50-sim-hash_collision.tests
new file mode 100644
index 0000000..f63f6f4
--- /dev/null
+++ b/tests/50-sim-hash_collision.tests
@@ -0,0 +1,18 @@
+#
+# libseccomp regression test automation data
+#
+# Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.
+# Author: Tom Hromatka <tom.hromatka@oracle.com>
+#
+
+test type: bpf-sim
+
+# Testname Arch Syscall Arg0 Arg1 Arg2 Arg3 Arg4 Arg5 Result
+50-sim-hash_collision x86_64 1000 1 N N N N N ALLOW
+50-sim-hash_collision x86_64 1000 2 N N N N N ALLOW
+50-sim-hash_collision x86_64 1000 3 N N N N N ERRNO(100)
+50-sim-hash_collision x86_64 1001 1 2 3 N N N ALLOW
+50-sim-hash_collision x86_64 1001 1 1 N N N N ALLOW
+50-sim-hash_collision x86_64 1001 2 N N N N N ERRNO(100)
+50-sim-hash_collision x86_64 1001 1 3 N N N N ERRNO(100)
+50-sim-hash_collision x86_64 1001 1 2 4 N N N ERRNO(100)