From cf76182f2c27d44e9da5a48465e2adb7bf6d6543 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Mon, 17 Sep 2007 21:20:24 +0000 Subject: [PATCH] Add a testcase for network protocols that the log parsing library can't parse. --- .../libapparmor/testsuite/test_multi/testcase24.err | 0 .../libapparmor/testsuite/test_multi/testcase24.in | 1 + .../libapparmor/testsuite/test_multi/testcase24.out | 10 ++++++++++ 3 files changed, 11 insertions(+) create mode 100644 changehat/libapparmor/testsuite/test_multi/testcase24.err create mode 100644 changehat/libapparmor/testsuite/test_multi/testcase24.in create mode 100644 changehat/libapparmor/testsuite/test_multi/testcase24.out diff --git a/changehat/libapparmor/testsuite/test_multi/testcase24.err b/changehat/libapparmor/testsuite/test_multi/testcase24.err new file mode 100644 index 000000000..e69de29bb diff --git a/changehat/libapparmor/testsuite/test_multi/testcase24.in b/changehat/libapparmor/testsuite/test_multi/testcase24.in new file mode 100644 index 000000000..faefabcb8 --- /dev/null +++ b/changehat/libapparmor/testsuite/test_multi/testcase24.in @@ -0,0 +1 @@ +type=APPARMOR_DENIED msg=audit(1190503205.837:27088): type=1503 operation="socket_create" family="packet" sock_type="raw" protocol=768 pid=16196 profile="/home/steve/aa-regression-tests/changehat_wrapper//net_raw" diff --git a/changehat/libapparmor/testsuite/test_multi/testcase24.out b/changehat/libapparmor/testsuite/test_multi/testcase24.out new file mode 100644 index 000000000..c33bc22fd --- /dev/null +++ b/changehat/libapparmor/testsuite/test_multi/testcase24.out @@ -0,0 +1,10 @@ +START +File: test_multi/testcase24.in +Event type: AA_RECORD_DENIED +Audit ID: 1190503205.837:27088 +Operation: socket_create +Network family: packet +Socket type: raw +Protocol: 768 +Epoch: 1190503205 +Audit subid: 27088