From 3deec4427de736c423c109080f2aae8de1b0ba75 Mon Sep 17 00:00:00 2001 From: Vincent Mihalkovic Date: Mon, 18 Mar 2024 13:06:38 +0100 Subject: [PATCH] Update iffe.tst --- src/cmd/INIT/iffe.tst | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/cmd/INIT/iffe.tst b/src/cmd/INIT/iffe.tst index 8ca765f54108..486b3a4967ce 100644 --- a/src/cmd/INIT/iffe.tst +++ b/src/cmd/INIT/iffe.tst @@ -1,15 +1,22 @@ # regression tests for the iffe command - EXEC -r -v - hdr stdio -TEST 01 'command line basics' +# Add debugging output +echo "Starting test 01: command line basics" + +# Execute the command with debugging options and capture output/errors +output=$(EXEC -r -v - hdr stdio 2>&1) + # Print the output echo "Output:" -echo "$OUTPUT" +echo "$output" + +# Check if there are any errors +if [ $? -ne 0 ]; then + echo "Error messages:" + echo "$output" +fi -# Print any error messages -echo "Error messages:" -echo "$ERROR" OUTPUT - $'/* : : generated by iffe version 1995-03-19 : : */ #ifndef _REGRESS #define _REGRESS 1