Skip to content

Commit

Permalink
Properly thread through CN tool name and args
Browse files Browse the repository at this point in the history
  • Loading branch information
septract committed Jul 5, 2024
1 parent 1f890ce commit b371dca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/example-archive/check-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FAILURE=0
for subdir in "${subdirs[@]}"; do
cd "$subdir" || continue

../check.sh $CN
../check.sh "$CN"

if [ $? != 0 ]
then
Expand Down
2 changes: 1 addition & 1 deletion src/example-archive/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ check_file() {
local expected_exit_code=$2

printf "[$file]... "
timeout 10 cn "$file" > /dev/null 2>&1
timeout 10 $CN "$file" > /dev/null 2>&1
local result=$?

if [ $result -eq $expected_exit_code ]; then
Expand Down

0 comments on commit b371dca

Please sign in to comment.