Skip to content

Commit

Permalink
fix: Fix comparison operator for numeric values
Browse files Browse the repository at this point in the history
  • Loading branch information
famouswizard authored Dec 23, 2024
1 parent 7551460 commit 3a2a9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/testcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ for (( i=0; i<${#TEST_TYPE[@]}; i++ )); do
# directories. This helps identify obviously incorrect paths;
# the test file is probably in the wrong directory.
#
if [ "$file_dircount" == "$testfile_dircount" ]; then
if [ "$file_dircount" -eq "$testfile_dircount" ]; then
printf "\nTest may exist in the wrong directory:\n"
printf " Main: %s\n" $(realpath --relative-to=$TEKU_DIR $file)
printf " Test: %s\n" $(realpath --relative-to=$TEKU_DIR $testfile)
Expand All @@ -78,4 +78,4 @@ for (( i=0; i<${#TEST_TYPE[@]}; i++ )); do
done
done

exit $EXIT_VALUE
exit $EXIT_VALUE

0 comments on commit 3a2a9be

Please sign in to comment.