Skip to content

Commit

Permalink
update go binary execution test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lily Pan committed May 22, 2024
1 parent 321bf3e commit c77f5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vhdbuilder/packer/test/linux-vhd-content-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ testNBCParserBinary () {
return 1
fi
echo "$test: nbcparser go binary exists at $go_binary_path"
errs=$(/bin/bash $go_binary_path 2>&1 >/dev/null)
errs=$($go_binary_path version 2>/dev/null)
code=$?
if [ $code -ne 0 ]; then
err "$test: nbcparser go binary exited with code $code, stderr:\n$errs"
Expand Down

0 comments on commit c77f5f9

Please sign in to comment.