From 992fc93278710bb41117d93531d9ed18db49e119 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 4 May 2025 23:06:10 +0900 Subject: fix load/store --- tests/test_diff.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_diff.sh b/tests/test_diff.sh index a66639e..44e00d0 100644 --- a/tests/test_diff.sh +++ b/tests/test_diff.sh @@ -6,7 +6,10 @@ if [[ $? -ne 0 ]]; then exit 1 fi gcc -Wl,-z,noexecstack -o a.out main.s -./a.out > output +if [[ ! -f input ]]; then + touch input +fi +./a.out < input > output exit_code=$? if [[ $exit_code -ne 0 ]]; then -- cgit v1.2.3-70-g09d2