From 30af5b777682a5c81fe40081667d58f804571914 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 31 Aug 2026 20:34:17 +0000 Subject: A bit of work on testing/code coverage FossilOrigin-Name: 50618f8fdb318b9c799e140f1ef644541382e348db8737a3e7c68af2836f7e83 --- tests/scripts/good/1.sh | 3 +++ tests/scripts/good/2.sh | 5 +++++ tests/scripts/good/3.sh | 8 ++++++++ tests/scripts/good/4.sh | 8 ++++++++ 4 files changed, 24 insertions(+) create mode 100755 tests/scripts/good/1.sh create mode 100755 tests/scripts/good/2.sh create mode 100755 tests/scripts/good/3.sh create mode 100755 tests/scripts/good/4.sh (limited to 'tests/scripts/good') diff --git a/tests/scripts/good/1.sh b/tests/scripts/good/1.sh new file mode 100755 index 0000000..c52d3c2 --- /dev/null +++ b/tests/scripts/good/1.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +exit 0 diff --git a/tests/scripts/good/2.sh b/tests/scripts/good/2.sh new file mode 100755 index 0000000..9bb0268 --- /dev/null +++ b/tests/scripts/good/2.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +echo "1+2" | aplwc-repl diff --git a/tests/scripts/good/3.sh b/tests/scripts/good/3.sh new file mode 100755 index 0000000..4a86c11 --- /dev/null +++ b/tests/scripts/good/3.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +cat <