git » gofer » commit 40ca4e0

test: Add missing authdb.yaml file

author Alberto Bertogli
2022-10-07 02:13:33 UTC
committer Alberto Bertogli
2022-10-09 11:34:34 UTC
parent 4c1de09f85fd182d4663d0c0ad8ce46de6a3f825

test: Add missing authdb.yaml file

The authdb.yaml file was accidentally missing from the test suite, this
patch adds it.

.gitignore +1 -1
test/testdata/authdb.yaml +6 -0

diff --git a/.gitignore b/.gitignore
index 9be132b..966a8ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,7 +14,7 @@
 # Configuration and certificates, to prevent accidents.
 *.yaml
 *.pem
-!test/*.yaml
+!test/**/*.yaml
 
 # Files generated by the performance tests.
 test/testdata/dir/perf*
diff --git a/test/testdata/authdb.yaml b/test/testdata/authdb.yaml
new file mode 100644
index 0000000..b5c4702
--- /dev/null
+++ b/test/testdata/authdb.yaml
@@ -0,0 +1,6 @@
+plain:
+    oneuser: onepass
+
+sha256:
+    # twopass
+    twouser: f1a9cce4acb4460a32413e943554650d0e8916d18f3c41d85eb5bb8e4ee62249