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