From 683f205402a99cfc8cea46c83ce9b46a42616d42 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 16 Dec 2023 12:40:10 +0100 Subject: All kinds of stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- tests/test-self-check | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/test-self-check') diff --git a/tests/test-self-check b/tests/test-self-check index 8e42f18..c0e1d0d 100644 --- a/tests/test-self-check +++ b/tests/test-self-check @@ -9,6 +9,9 @@ stderr_printf () { test "$(stderr_printf 'hello\n')" = '' test "$(stderr stderr_printf 'hello\n' 2>&1)" = 'hello' +failing_function () { false; true; } # use of { } rather than ( ) is important +( ! failing_function ) + (! (false > $a) ) getname OS 0 @@ -39,6 +42,10 @@ printf 'a\n' > $a printf 'a\n' > $b diff -u $a $b +true & wait $! +( false & ! wait $! ) +await + for os in ${SUPPORTED_OSES}; do issupported $os for arch in $(env | sed -n 's/^SUPPORTED_'"$os"'_ARCHES=//p' | xargs printf '%s\n'); do -- cgit v1.2.3-70-g09d2