diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-15 10:18:18 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-15 10:18:18 +0000 |
commit | aa76577e4e674ffabcad8bce9d3d8497d7ae073a (patch) | |
tree | 5fa3490a199b68a0d29c953aa15a8264ff043611 | |
parent | a387bfc55e4d90662b5ecc1e64cadf2598ea3e15 (diff) | |
download | cmdtest-aa76577e4e674ffabcad8bce9d3d8497d7ae073a.tar.gz |
Add test for yarn for a missing step
-rwxr-xr-x | yarn.tests/warn-if-missing-step.script | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/yarn.tests/warn-if-missing-step.script b/yarn.tests/warn-if-missing-step.script new file mode 100755 index 0000000..c1ec4af --- /dev/null +++ b/yarn.tests/warn-if-missing-step.script @@ -0,0 +1,10 @@ +#!/bin/sh + +set -eu + +cat <<EOF > "$DATADIR/missing-step.yarn" + SCENARIO missing step + THEN missing step +EOF + +./run-yarn --allow-missing-step "$DATADIR/missing-step.yarn" |