summaryrefslogtreecommitdiff
path: root/echo-tests
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-09-11 19:18:29 +0100
committerLars Wirzenius <liw@liw.fi>2011-09-11 19:18:29 +0100
commit14b9853da43b0528337f23ea619d75f72318eefe (patch)
treeb06833c927bf22b31024e7e7eb1369586de09672 /echo-tests
parent33be3b31e9cbbb138911371480e213f6478c1bf3 (diff)
downloadcmdtest-14b9853da43b0528337f23ea619d75f72318eefe.tar.gz
Add sample test for echo.
Diffstat (limited to 'echo-tests')
-rwxr-xr-xecho-tests/hello.script2
-rw-r--r--echo-tests/hello.stdout1
2 files changed, 3 insertions, 0 deletions
diff --git a/echo-tests/hello.script b/echo-tests/hello.script
new file mode 100755
index 0000000..9b24f76
--- /dev/null
+++ b/echo-tests/hello.script
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo hello, world
diff --git a/echo-tests/hello.stdout b/echo-tests/hello.stdout
new file mode 100644
index 0000000..4b5fa63
--- /dev/null
+++ b/echo-tests/hello.stdout
@@ -0,0 +1 @@
+hello, world