aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorRyan S. Arnold <ryan.arnold@linaro.org>2014-02-03 17:34:57 -0600
committerRyan S. Arnold <ryan.arnold@linaro.org>2014-02-03 17:34:57 -0600
commit40c20537155cad7fcb12a814a3ca4bc39952daf5 (patch)
tree3f3cda6e45522ed403958c8628f6373e99e6fd74 /test.sh
parentc12152df8801907e3ae84203349e5b2eac0a9b0f (diff)
test.sh: Add --disable update test cases.
Change-Id: I9d7004188bcb5146bd5185f1b3ff249a5336021f
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index d7699d7b..3df92ba6 100755
--- a/test.sh
+++ b/test.sh
@@ -390,6 +390,14 @@ cb_commands="--disable install --dump"
match='Install no'
test_pass "${cb_commands}" "${match}"
+cb_commands="--dump"
+match='Source Update yes'
+test_pass "${cb_commands}" "${match}"
+
+cb_commands="--disable update --dump"
+match='Source Update no'
+test_pass "${cb_commands}" "${match}"
+
# This tests that --checkout and --build can be run together.
cb_commands="--dryrun --target arm-none-linux-gnueabihf --checkout all --build all"
match=''