aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-04-16 14:09:45 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-04-16 14:09:45 +0000
commitf072564ac18ddace2895e7217e11e0ceee689f2b (patch)
treea03b363e8064b2b26aa5692098ca97004d16c390 /test.sh
parenta50d960960d1bf3498fa5f282dcc82c7687ee824 (diff)
test.sh: Adjust for bionic version bash
Replace asdflkajsdflkajsfdlasfdlaksfdlkaj.git with asdflkajsdflkajsfdlasfdlaksfdlkaj_git in a test to avoid a bash error because of the '.' In lib/component.sh/collect_data(), local version_var="${component}_version" fails with bionic bash when component=asdflkajsdflkajsfdlasfdlaksfdlkaj.git Change-Id: I90b829833ffa5da16a6a83a4cbb2b1b452d627d9
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index 052d71c9..b39c883c 100755
--- a/test.sh
+++ b/test.sh
@@ -503,7 +503,7 @@ cb_commands="--dryrun --build gcc.git"
match=''
test_pass "${cb_commands}" "${match}"
-cb_commands="--dryrun --build asdflkajsdflkajsfdlasfdlaksfdlkaj.git"
+cb_commands="--dryrun --build asdflkajsdflkajsfdlasfdlaksfdlkaj_git"
match="Malformed input. No url found"
test_failure "${cb_commands}" "${match}"