summaryrefslogtreecommitdiffstats
path: root/.graveyard/util/t/vvs.de/smoke-test
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-12-17 09:29:24 +0100
committermakefu <root@pigstarter.de>2013-12-17 09:29:24 +0100
commite8a3666d702fc099baba8b0b41ff414a8571fd55 (patch)
tree2f72626742ee8213a5fcf57803818b7aa64e5cc0 /.graveyard/util/t/vvs.de/smoke-test
parentf5c8830887fc238ed1d1075e1459dadc44f5ad4d (diff)
parentabf03f260a3d4b3b1b62c98ede3014b724658e1c (diff)
Merge branch 'master' of https://github.com/krebscode/painload
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
+}