]> git.phdru.name Git - phdru.name/cgi-bin/blog-ru/search-tags.git/commitdiff
Add a few simple non-automatic tests
authorOleg Broytman <phd@phdru.name>
Tue, 12 Jul 2016 06:44:52 +0000 (09:44 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 12 Jul 2016 06:44:52 +0000 (09:44 +0300)
test_tags [new file with mode: 0755]

diff --git a/test_tags b/test_tags
new file mode 100755 (executable)
index 0000000..754fe52
--- /dev/null
+++ b/test_tags
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+QUERY_STRING='q=linux' ./search-tags.py | $PAGER
+QUERY_STRING='q=linux%26%21audio' ./search-tags.py | $PAGER
+QUERY_STRING='q=linux%26%21audio%26%21debian' ./search-tags.py | $PAGER