From 9ec5b1094362c445766e904a9b2180bed24100b4 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 24 Jun 2013 07:26:11 +0100 Subject: Add -n and -q options --- yarn.tests/no-act.script | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 yarn.tests/no-act.script (limited to 'yarn.tests') diff --git a/yarn.tests/no-act.script b/yarn.tests/no-act.script new file mode 100755 index 0000000..983f115 --- /dev/null +++ b/yarn.tests/no-act.script @@ -0,0 +1,22 @@ +#!/bin/sh + +set -eu + +# Create a scenario that will fail. +cat < "$DATADIR/fail.yarn" + SCENARIO this will fail + GIVEN badness + WHEN bad things happen + THEN more badness + + IMPLEMENTS GIVEN badness + false + + IMPLEMENTS WHEN bad things happen + false + + IMPLEMENTS THEN more badness + false +EOF + +./yarn -q -n "$DATADIR/fail.yarn" -- cgit v1.2.1