From a4d09016ab98de7a6612a314bff558f06c5a1bb6 Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Fri, 26 Feb 2016 18:27:40 +0000 Subject: [PATCH] blarg --- tests/Single file/.test | 0 tests/Single file/.wrappers/setup | 1 + tests/Single file/.wrappers/setup_dir | 1 + tests/Single file/.wrappers/teardown | 1 + tests/Single file/.wrappers/teardown_dir | 1 + tests/Single file/.wrappers/thetest | 2 ++ tests/Single file/The file must exist. | 2 ++ tests/Single file/The wrappers should be run. | 4 ++++ 8 files changed, 12 insertions(+) create mode 100755 tests/Single file/.test create mode 100755 tests/Single file/.wrappers/setup create mode 100755 tests/Single file/.wrappers/setup_dir create mode 100755 tests/Single file/.wrappers/teardown create mode 100755 tests/Single file/.wrappers/teardown_dir create mode 100755 tests/Single file/.wrappers/thetest create mode 100755 tests/Single file/The file must exist. create mode 100644 tests/Single file/The wrappers should be run. diff --git a/tests/Single file/.test b/tests/Single file/.test new file mode 100755 index 0000000..e69de29 diff --git a/tests/Single file/.wrappers/setup b/tests/Single file/.wrappers/setup new file mode 100755 index 0000000..f5c6c7d --- /dev/null +++ b/tests/Single file/.wrappers/setup @@ -0,0 +1 @@ +echo setup diff --git a/tests/Single file/.wrappers/setup_dir b/tests/Single file/.wrappers/setup_dir new file mode 100755 index 0000000..9ddf3c5 --- /dev/null +++ b/tests/Single file/.wrappers/setup_dir @@ -0,0 +1 @@ +echo setup_dir diff --git a/tests/Single file/.wrappers/teardown b/tests/Single file/.wrappers/teardown new file mode 100755 index 0000000..3527535 --- /dev/null +++ b/tests/Single file/.wrappers/teardown @@ -0,0 +1 @@ +echo teardown diff --git a/tests/Single file/.wrappers/teardown_dir b/tests/Single file/.wrappers/teardown_dir new file mode 100755 index 0000000..6a84116 --- /dev/null +++ b/tests/Single file/.wrappers/teardown_dir @@ -0,0 +1 @@ +echo teardown_dir diff --git a/tests/Single file/.wrappers/thetest b/tests/Single file/.wrappers/thetest new file mode 100755 index 0000000..b6757b7 --- /dev/null +++ b/tests/Single file/.wrappers/thetest @@ -0,0 +1,2 @@ +echo thetest +exit 1 diff --git a/tests/Single file/The file must exist. b/tests/Single file/The file must exist. new file mode 100755 index 0000000..e5709d5 --- /dev/null +++ b/tests/Single file/The file must exist. @@ -0,0 +1,2 @@ +#!/bin/sh +! ../../urchin not-a-file diff --git a/tests/Single file/The wrappers should be run. b/tests/Single file/The wrappers should be run. new file mode 100644 index 0000000..68e0297 --- /dev/null +++ b/tests/Single file/The wrappers should be run. @@ -0,0 +1,4 @@ +tmp=$(mktemp) +echo "Using temp file $tmp" +../../urchin .wrappers > $tmp +diff $tmp .wrapper-expectation