summaryrefslogtreecommitdiff
path: root/tests/dtc-fatal.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: allow out-of-tree test runMarc-André Lureau2019-10-141-1/+2
| | | | | | | | meson runs out-of-tree, add absolute path location where necessary. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20191009102025.10179-3-marcandre.lureau@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
* tests: Rename tests.sh to testutils.shDavid Gibson2019-03-291-1/+1
| | | | | | | | tests.sh has a bunch of shell setup that's sourced in a number of other scripts. It _doesn't_ actually run a bunch of tests, which is kind of what the name suggests. So rename it to be more obvious. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
* dtc: Remove some small bashisms from test scriptsDavid Gibson2008-05-291-1/+1
| | | | | | | | | | | Some of the helper scripts used to run testcases contain some constructs that are bashisms. Or at least which don't work on dash, the minimal shell used as /bin/sh on recent Ubuntu systems. This patch removes these constructs so that the testsuite will pass "out of the box" on systems where /bin/sh is dash. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
* dtc: Testcases for input handlingDavid Gibson2008-03-231-0/+14
This patch adds some testcases checking corner cases of dtc's input file handling. Specifically it checks that dtc works correctly when given input via stdin, and it checks that dtc fails gracefully if given a nonexistent input file (or directory, in the case of -Ifs mode). Signed-off-by: David Gibson <david@gibson.dropbear.id.au>