Skip to content

Commit 6b197fd

Browse files
committed
Github Workflow(GW): Fix file not found error
1 parent 6defd07 commit 6b197fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/record.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ for fn in $DIR/*.c; do
1919
gcc -Wall -Wextra $fn -o $bin_file || exit
2020

2121
echo "Running and recording output into '$exp_file'"
22-
./$bin_file > $exp_file
22+
$bin_file > $exp_file
2323
chmod -w $exp_file || exit
2424
done
2525

tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for fn in $TESTS_DIR/*.c; do
2626
echo " Compiling and running '$fn'"
2727
gcc -Wall -Wextra $fn -o $bin_file || exit
2828

29-
./$bin_file > $out_file
29+
$bin_file > $out_file
3030
diff $out_file $exp_file || exit
3131
done
3232

0 commit comments

Comments
 (0)