summaryrefslogtreecommitdiffstats
path: root/.graveyard/util/t/vvs.de/smoke-test
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-12-11 11:41:14 +0100
committertv <tv@nomic.retiolum>2013-12-11 11:41:14 +0100
commit719ac6102fdd5c8aa557a30a4a3c965825b2b2fa (patch)
tree39164ef37a2c2bad8edef3460daf59e39ae0658f /.graveyard/util/t/vvs.de/smoke-test
parent677a8d7b3279f91e917c1f1c36dc5b2756214b2a (diff)
RIP mobile vvs and smoke tests
Diffstat (limited to '.graveyard/util/t/vvs.de/smoke-test')
-rwxr-xr-x.graveyard/util/t/vvs.de/smoke-test11
1 files changed, 11 insertions, 0 deletions
diff --git a/.graveyard/util/t/vvs.de/smoke-test b/.graveyard/util/t/vvs.de/smoke-test
new file mode 100755
index 00000000..451270fe
--- /dev/null
+++ b/.graveyard/util/t/vvs.de/smoke-test
@@ -0,0 +1,11 @@
+#! /bin/sh
+set -euf
+
+vvs.de Hauptbahnhof Renningen 13 37 | {
+ read from && test "x$from" = 'xfrom: Hauptbahnhof'
+ read to && test "x$to" = 'xto: Renningen'
+ read sep && test "x$sep" = 'x-------------------------------------'
+ while read line; do
+ echo "$line" | grep -q '^[0-9][0-9]:[0-9][0-9] [0-9][0-9]:[0-9][0-9] '
+ done
+}