From 3626877554b6c567d43336ec49414cedfe487260 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 31 May 2024 18:30:10 +0200 Subject: Initial commit --- test/hello/TARGETS | 7 +++++++ test/hello/test_hello.sh | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 test/hello/TARGETS create mode 100644 test/hello/test_hello.sh (limited to 'test/hello') diff --git a/test/hello/TARGETS b/test/hello/TARGETS new file mode 100644 index 0000000..d01c382 --- /dev/null +++ b/test/hello/TARGETS @@ -0,0 +1,7 @@ +{ "": + { "type": ["@", "rules", "shell/test", "script"] + , "name": ["hello"] + , "test": ["test_hello.sh"] + , "deps": [["@", "src", "hello", ""]] + } +} diff --git a/test/hello/test_hello.sh b/test/hello/test_hello.sh new file mode 100644 index 0000000..08347e8 --- /dev/null +++ b/test/hello/test_hello.sh @@ -0,0 +1,5 @@ +set -e + +./hello | grep -i world +./hello Universe | grep Universe +./hello Universe | grep -i world && exit 1 || : -- cgit v1.2.3