veyron/examples/todos: add simple test.sh
Change-Id: Ibf7684002a93e1979146bb6431ae0dc14cfb5dec
diff --git a/examples/mdb/test.sh b/examples/mdb/test.sh
index 656560f..ed8d790 100755
--- a/examples/mdb/test.sh
+++ b/examples/mdb/test.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Tests the mdb example.
+# Tests this example.
#
# Builds binaries, starts up services, waits a few seconds, then checks that the
# store browser responds with valid data.
@@ -41,7 +41,7 @@
curl 2>/dev/null "${URL}" -o "${FILE}" || fail "line ${LINENO}: failed to fetch ${URL}"
- if grep -q moviesbox "${FILE}"; then
+ if grep -q "moviesbox" "${FILE}"; then
pass
else
cat ${FILE}