summaryrefslogtreecommitdiffhomepage
path: root/test/packetdrill/sanity_test.pkt
diff options
context:
space:
mode:
authorEyal Soha <eyalsoha@google.com>2020-03-06 11:22:55 -0800
committergVisor bot <gvisor-bot@google.com>2020-03-06 11:24:11 -0800
commit20170d4fd5c26def584664762f4e639f0b43ff6e (patch)
treebbaae9b2bcfa6c301fd68d17aab90c013f5530b3 /test/packetdrill/sanity_test.pkt
parent006e2223a4874771a3a9237c7fb7caa1bb3264f6 (diff)
Move packetdrill tests to open-source
PiperOrigin-RevId: 299396286
Diffstat (limited to 'test/packetdrill/sanity_test.pkt')
-rw-r--r--test/packetdrill/sanity_test.pkt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/packetdrill/sanity_test.pkt b/test/packetdrill/sanity_test.pkt
new file mode 100644
index 000000000..b3b58c366
--- /dev/null
+++ b/test/packetdrill/sanity_test.pkt
@@ -0,0 +1,7 @@
+// Basic sanity test. One system call.
+//
+// All of the plumbing has to be working however, and the packetdrill wire
+// client needs to be able to connect to the wire server and send the script,
+// probe local interfaces, run through the test w/ timings, etc.
+
+0.000 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3