diskimage-builder/tests
Ian Wienand f82cfb156a Fix tar listing in functional tests
I noticed when running functional tests via a interactive shell they
would end up hanging; I tracked it down to waiting for input on this
tar command.  We need to specify "-f" so it opens the file ...

---
 | + tar -t /tmp/tmp.qid2Ygfu7v/image.tar
 | + grep -q /tmp/dib-test-should-fail
 | tar: This does not look like a tar archive
 | tar: /tmp/tmp.qid2Ygfu7v/image.tar: Not found in archive
 | tar: Exiting with failure status due to previous errors
---

I guess we never noticed because it's always running in CI where stdin
is closed and it just get that nothing read above.  This probably was
reversing the logic of the "should have failed" tests ... but I don't
think we take that path currently for any tests.

Change-Id: Idad2c172797395d45c0d750ec687011cc1fbf52a
2016-02-04 15:50:25 +11:00
..
elements/fake-os Add functional smoke test for disk-image-create 2015-04-24 16:37:29 +00:00
dib_functions_test.sh Don't use wc -l for the umount check 2016-01-28 19:24:10 +11:00
image_output_formats.bash Support building ACIs 2015-07-22 09:30:09 +00:00
install_test_deps.sh Add inetutils-ping to test-deps 2016-01-19 02:04:34 +00:00
run_functests.sh Add a tox target to run functional tests locally 2015-10-23 12:05:23 +02:00
test_elements.bash Add a tox target to run functional tests locally 2015-10-23 12:05:23 +02:00
test_functions.bash Fix tar listing in functional tests 2016-02-04 15:50:25 +11:00