aboutsummaryrefslogtreecommitdiff
path: root/integration-tests.d
diff options
context:
space:
mode:
authorAntonio Terceiro <antonio.terceiro@linaro.org>2013-05-27 18:24:06 -0300
committerAntonio Terceiro <antonio.terceiro@linaro.org>2013-05-27 18:24:06 -0300
commit85e1f0b504a98bc2aae72cf39bf641266b0315bb (patch)
tree3028af2e38693aaf06287c804c5879cc8925db8d /integration-tests.d
parenteb08f732ac9849c41538ead756f0359972ab5922 (diff)
add an integration test for `lava job new` on existing files
Diffstat (limited to 'integration-tests.d')
-rw-r--r--integration-tests.d/lava-job-new-existing.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/integration-tests.d/lava-job-new-existing.sh b/integration-tests.d/lava-job-new-existing.sh
new file mode 100644
index 0000000..def086b
--- /dev/null
+++ b/integration-tests.d/lava-job-new-existing.sh
@@ -0,0 +1,5 @@
+touch "${tmpdir}/foo.json"
+lava job new "${tmpdir}/foo.json"
+rc="$?"
+test "$rc" -gt 0
+