summaryrefslogtreecommitdiffstats
path: root/tools/regression/bpf/bpf_filter/tests/test0025.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bpf/bpf_filter/tests/test0025.h')
-rw-r--r--tools/regression/bpf/bpf_filter/tests/test0025.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/regression/bpf/bpf_filter/tests/test0025.h b/tools/regression/bpf/bpf_filter/tests/test0025.h
index 16800f3..2d5f2b4 100644
--- a/tools/regression/bpf/bpf_filter/tests/test0025.h
+++ b/tools/regression/bpf/bpf_filter/tests/test0025.h
@@ -1,15 +1,15 @@
/*-
- * Test 0025: BPF_ALU|BPF_SUB|BPF_X
+ * Test 0025: BPF_ALU+BPF_SUB+BPF_X
*
* $FreeBSD$
*/
/* BPF program */
struct bpf_insn pc[] = {
- BPF_STMT(BPF_LD|BPF_IMM, 0xdeadc0de),
- BPF_STMT(BPF_LDX|BPF_IMM, 0x20000801),
- BPF_STMT(BPF_ALU|BPF_SUB|BPF_X, 0),
- BPF_STMT(BPF_RET|BPF_A, 0),
+ BPF_STMT(BPF_LD+BPF_IMM, 0xdeadc0de),
+ BPF_STMT(BPF_LDX+BPF_IMM, 0x20000801),
+ BPF_STMT(BPF_ALU+BPF_SUB+BPF_X, 0),
+ BPF_STMT(BPF_RET+BPF_A, 0),
};
/* Packet */
@@ -29,5 +29,5 @@ int invalid = 0;
/* Expected return value */
u_int expect = 0xbeadb8dd;
-/* Expeced signal */
+/* Expected signal */
int expect_signal = 0;
OpenPOWER on IntegriCloud