summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo M. Bermudo Garay <pablombg@gmail.com>2015-12-01 23:45:21 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-12-10 18:25:30 +0100
commita248ba918dcba2866fe47d5d716d7f0f04abd40f (patch)
treebce20c2039be3d1ab1434a562897f0de4c334579
parent972b03b43de3c896a0ff158110f0e7d978e7192e (diff)
tests: add *.got files to .gitignore
During tests execution, some *.payload.got files may be generated. To avoid annoyances, this commit adds the pattern to .gitignore. Also, the file "dup.t.payload.got", that was presumably included by mistake, has been deleted. Signed-off-by: Pablo M. Bermudo Garay <pablombg@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--.gitignore3
-rw-r--r--tests/regression/ip/dup.t.payload.got26
2 files changed, 3 insertions, 26 deletions
diff --git a/.gitignore b/.gitignore
index 63ef1a29..009f7d00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,5 +24,8 @@ ylwrap
src/parser_bison.c
src/parser_bison.h
+# Generated by tests
+*.payload.got
+
# Debian package build temporary files
build-stamp
diff --git a/tests/regression/ip/dup.t.payload.got b/tests/regression/ip/dup.t.payload.got
deleted file mode 100644
index 23e0a7e7..00000000
--- a/tests/regression/ip/dup.t.payload.got
+++ /dev/null
@@ -1,26 +0,0 @@
-# dup to 192.168.2.1 device eth0
-ip test-ip4 input
- [ immediate reg 1 0x0102a8c0 ]
- [ immediate reg 2 0x00000002 0x00000000 0x00000000 0x00000000 ]
- [ dup sreg_addr 1 sreg_dev 2 ]
-
-# dup to ip saddr map { 192.168.2.120 : 192.168.2.1 } device eth0
-map%d test-ip4 b
-map%d test-ip4 0
- element 7802a8c0 : 0102a8c0 0 [end]
-ip test-ip4 input
- [ payload load 4b @ network header + 12 => reg 1 ]
- [ lookup reg 1 set map%d dreg 1 ]
- [ immediate reg 2 0x00000002 0x00000000 0x00000000 0x00000000 ]
- [ dup sreg_addr 1 sreg_dev 2 ]
-
-# dup to ip saddr map { 192.168.2.120 : 192.168.2.1 } device eth0
-map%d test-ip4 b
-map%d test-ip4 0
- element 7802a8c0 : 0102a8c0 0 [end]
-ip test-ip4 input
- [ payload load 4b @ network header + 12 => reg 1 ]
- [ lookup reg 1 set map%d dreg 1 ]
- [ immediate reg 2 0x00000002 0x00000000 0x00000000 0x00000000 ]
- [ dup sreg_addr 1 sreg_dev 2 ]
-