summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-10-02 10:55:42 +0300
committerLars Wirzenius <liw@liw.fi>2016-10-02 10:55:42 +0300
commit39d53d0525b9a37d6daf5f537dfbecef81ce96fc (patch)
tree52782e07dc4d9793bf2a097f07c48d8235f19e15
parent535a2bce1424ca26a7f5d5dffce4d5deca4764f1 (diff)
downloadserver-yarns-39d53d0525b9a37d6daf5f537dfbecef81ce96fc.tar.gz
Add scenario for code.liw.fi
-rw-r--r--020-code.liw.fi.yarn23
1 files changed, 23 insertions, 0 deletions
diff --git a/020-code.liw.fi.yarn b/020-code.liw.fi.yarn
new file mode 100644
index 0000000..e6a33c2
--- /dev/null
+++ b/020-code.liw.fi.yarn
@@ -0,0 +1,23 @@
+# code.liw.fi
+
+`code.liw.fi` is where I publish my free software projects. There is a
+directory per project, for project specific files, and a repository of
+packages for Debian.
+
+ SCENARIO code.liw.fi
+ GIVEN server is also known as code.liw.fi
+
+ WHEN user fetches http://code.liw.fi/
+ THEN HTTP status is 200
+ AND HTTP body matches "http://liw\.fi/code"
+
+ WHEN user fetches http://code.liw.fi/debian/
+ THEN HTTP status is 200
+ AND HTTP body matches "dists"
+ AND HTTP body matches "pool"
+
+`apt.asc` has the signing key for the Debian package archive.
+
+ WHEN user fetches http://code.liw.fi/apt.asc
+ THEN HTTP status is 200
+ AND HTTP body matches "-----BEGIN PGP PUBLIC KEY BLOCK-----"