From 557da6b2de43435e782dea995316ec73d6ae688c Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sun, 7 Jan 2024 16:20:03 +0000 Subject: [PATCH] Testing: extract offsets --- tests/extract_offsets.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/extract_offsets.sh b/tests/extract_offsets.sh index 828a4dd3f..b36005cb9 100755 --- a/tests/extract_offsets.sh +++ b/tests/extract_offsets.sh @@ -48,5 +48,13 @@ set -e [ $status -ne 0 ] grep -q "Wrong message length" $tempLog +set +e +$EXEC ${test_dir}/extract_offsets nonexistentfile > $tempLog 2>&1 +status=$? +set -e +[ $status -ne 0 ] +grep -q "Unable to read file" $tempLog + + # Clean up rm -f $temp1 $temp2 $tempLog