simplify .gitignore, just on line for ignoring all the testdata/*/data directories

This commit is contained in:
Mechiel Lukkien 2023-11-09 18:19:47 +01:00
parent 893a6f8911
commit deb16d23b8
No known key found for this signature in database
6 changed files with 3 additions and 15 deletions

14
.gitignore vendored
View file

@ -3,30 +3,18 @@
/rfc/[0-9][0-9]* /rfc/[0-9][0-9]*
/local/ /local/
/testdata/check/ /testdata/check/
/testdata/ctl/data/ /testdata/*/data/
/testdata/ctl/dkim/ /testdata/ctl/dkim/
/testdata/dmarcdb/data/
/testdata/empty/ /testdata/empty/
/testdata/exportmaildir/ /testdata/exportmaildir/
/testdata/exportmbox/ /testdata/exportmbox/
/testdata/httpaccount/data/
/testdata/imap/data/ /testdata/imap/data/
/testdata/imapserverfuzz/data/
/testdata/imaptest/data/
/testdata/junk/*.bloom /testdata/junk/*.bloom
/testdata/junk/*.db /testdata/junk/*.db
/testdata/queue/data/
/testdata/sent/ /testdata/sent/
/testdata/smtp/data/
/testdata/smtp/datajunk/ /testdata/smtp/datajunk/
/testdata/smtp/sendlimit/data/
/testdata/smtp/catchall/data/
/testdata/smtp/postmaster/ /testdata/smtp/postmaster/
/testdata/smtpserverfuzz/data/
/testdata/store/data/
/testdata/tlsrptsend/data/
/testdata/train/ /testdata/train/
/testdata/webmail/data/
/testdata/upgradetest.mbox.gz /testdata/upgradetest.mbox.gz
/testdata/integration/example-integration.zone /testdata/integration/example-integration.zone
/testdata/integration/tmp-pebble-ca.pem /testdata/integration/tmp-pebble-ca.pem

View file

@ -1193,7 +1193,7 @@ func TestNonSMTP(t *testing.T) {
// Test limits on outgoing messages. // Test limits on outgoing messages.
func TestLimitOutgoing(t *testing.T) { func TestLimitOutgoing(t *testing.T) {
ts := newTestServer(t, filepath.FromSlash("../testdata/smtp/sendlimit/mox.conf"), dns.MockResolver{}) ts := newTestServer(t, filepath.FromSlash("../testdata/smtpserversendlimit/mox.conf"), dns.MockResolver{})
defer ts.close() defer ts.close()
ts.user = "mjl@mox.example" ts.user = "mjl@mox.example"
@ -1237,7 +1237,7 @@ func TestCatchall(t *testing.T) {
"127.0.0.10": {"other.example."}, "127.0.0.10": {"other.example."},
}, },
} }
ts := newTestServer(t, filepath.FromSlash("../testdata/smtp/catchall/mox.conf"), resolver) ts := newTestServer(t, filepath.FromSlash("../testdata/smtpservercatchall/mox.conf"), resolver)
defer ts.close() defer ts.close()
testDeliver := func(rcptTo string, expErr *smtpclient.Error) { testDeliver := func(rcptTo string, expErr *smtpclient.Error) {