Skip to content

Commit

Permalink
Merge pull request #771 from nodejs/fix-image-tests
Browse files Browse the repository at this point in the history
Fix image tests
  • Loading branch information
LaurentGoderre authored Jun 1, 2018
2 parents 54982f2 + 5a8088b commit 6173c7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Run a test build for all images.

set -uo pipefail
set -euo pipefail

. functions.sh

Expand Down
4 changes: 2 additions & 2 deletions test-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ echo "Test for node succeeded."

if ! npm --version >/dev/null; then
echo "Test for npm failed!"
exit 2
exit 1
fi
echo "Test for npm succeeded."

if ! yarn --version >/dev/null; then
echo "Test of yarn failed!"
exit 3
exit 1
fi
echo "Test for yarn succeeded."

0 comments on commit 6173c7f

Please sign in to comment.