diff options
author | Ian Chard <ian@mysociety.org> | 2014-01-23 10:45:33 +0000 |
---|---|---|
committer | Ian Chard <ian@mysociety.org> | 2014-01-23 10:45:33 +0000 |
commit | 75900830370801d51743a61f0c1e4793f2f91b4f (patch) | |
tree | 93cfe7cd84284361d4d82ed286f74a5bea7e0cca /spec/lib/alaveteli_external_command_scripts | |
parent | 96ec5176baace46dd0c5cc6b3e9e080d52297674 (diff) |
Rename tests to be clear as to what is being tested
Diffstat (limited to 'spec/lib/alaveteli_external_command_scripts')
-rwxr-xr-x | spec/lib/alaveteli_external_command_scripts/error.sh | 4 | ||||
-rwxr-xr-x | spec/lib/alaveteli_external_command_scripts/segfault.sh | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/spec/lib/alaveteli_external_command_scripts/error.sh b/spec/lib/alaveteli_external_command_scripts/error.sh new file mode 100755 index 000000000..65e74b3c6 --- /dev/null +++ b/spec/lib/alaveteli_external_command_scripts/error.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "this is my error message" >&1 +exit 1 diff --git a/spec/lib/alaveteli_external_command_scripts/segfault.sh b/spec/lib/alaveteli_external_command_scripts/segfault.sh new file mode 100755 index 000000000..f96ba5be8 --- /dev/null +++ b/spec/lib/alaveteli_external_command_scripts/segfault.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +kill -11 $$ |