Skip to content

Commit f8e0e0f

Browse files
Fix undefined variable in test error message
2 parents d6f4cb4 + cdf85d2 commit f8e0e0f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/integration/codebuild/buildspec.os.alpine.1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ phases:
8787
- |
8888
echo "Response: ${actual}"
8989
if [[ "$actual" != "$expected" ]]; then
90-
echo "fail! runtime: $RUNTIME - expected output $expected - got $actual"
90+
echo "fail! runtime: ${OS_DISTRIBUTION}-${DISTRO_VERSION}:${RUNTIME_VERSION} - expected output $expected - got $actual"
9191
exit -1
9292
fi
9393
finally:

test/integration/codebuild/buildspec.os.alpine.2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ phases:
8787
- |
8888
echo "Response: ${actual}"
8989
if [[ "$actual" != "$expected" ]]; then
90-
echo "fail! runtime: $RUNTIME - expected output $expected - got $actual"
90+
echo "fail! runtime: ${OS_DISTRIBUTION}-${DISTRO_VERSION}:${RUNTIME_VERSION} - expected output $expected - got $actual"
9191
exit -1
9292
fi
9393
finally:

test/integration/codebuild/buildspec.os.amazonlinux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ phases:
8484
- |
8585
echo "Response: ${actual}"
8686
if [[ "$actual" != "$expected" ]]; then
87-
echo "fail! runtime: $RUNTIME - expected output $expected - got $actual"
87+
echo "fail! runtime: ${OS_DISTRIBUTION}-${DISTRO_VERSION}:${RUNTIME_VERSION} - expected output $expected - got $actual"
8888
exit -1
8989
fi
9090
finally:

test/integration/codebuild/buildspec.os.debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ phases:
8585
- |
8686
echo "Response: ${actual}"
8787
if [[ "$actual" != "$expected" ]]; then
88-
echo "fail! runtime: $RUNTIME - expected output $expected - got $actual"
88+
echo "fail! runtime: ${OS_DISTRIBUTION}-${DISTRO_VERSION}:${RUNTIME_VERSION} - expected output $expected - got $actual"
8989
exit -1
9090
fi
9191
finally:

test/integration/codebuild/buildspec.os.ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ phases:
8787
- |
8888
echo "Response: ${actual}"
8989
if [[ "$actual" != "$expected" ]]; then
90-
echo "fail! runtime: $RUNTIME - expected output $expected - got $actual"
90+
echo "fail! runtime: ${OS_DISTRIBUTION}-${DISTRO_VERSION}:${RUNTIME_VERSION} - expected output $expected - got $actual"
9191
exit -1
9292
fi
9393
finally:

0 commit comments

Comments
 (0)