From: "Pablo M. Bermudo Garay" <pablombg@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: "Pablo M. Bermudo Garay" <pablombg@gmail.com>
Subject: [PATCH nft 1/3] tests: add *.got files to .gitignore
Date: Tue, 1 Dec 2015 23:45:21 +0100 [thread overview]
Message-ID: <1449009923-10726-1-git-send-email-pablombg@gmail.com> (raw)
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>
---
.gitignore | 3 +++
tests/regression/ip/dup.t.payload.got | 26 --------------------------
2 files changed, 3 insertions(+), 26 deletions(-)
delete mode 100644 tests/regression/ip/dup.t.payload.got
diff --git a/.gitignore b/.gitignore
index 63ef1a2..009f7d0 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 23e0a7e..0000000
--- 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 ]
-
--
2.6.2
next reply other threads:[~2015-12-01 22:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 22:45 Pablo M. Bermudo Garay [this message]
2015-12-01 22:45 ` [PATCH nft 2/3] tests: remove useless logic Pablo M. Bermudo Garay
2015-12-01 22:45 ` [PATCH nft 3/3] tests: fix crash when rule test is malformed Pablo M. Bermudo Garay
2015-12-10 17:28 ` [PATCH nft 1/3] tests: add *.got files to .gitignore Pablo Neira Ayuso
2015-12-14 19:39 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449009923-10726-1-git-send-email-pablombg@gmail.com \
--to=pablombg@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).