diff options
Diffstat (limited to 'tests/scripts/bad')
| -rwxr-xr-x | tests/scripts/bad/2.sh | 2 | ||||
| -rwxr-xr-x | tests/scripts/bad/3.sh | 2 | ||||
| -rwxr-xr-x | tests/scripts/bad/4.aplwc | 1 | ||||
| -rwxr-xr-x | tests/scripts/bad/4.sh | 3 | ||||
| -rwxr-xr-x | tests/scripts/bad/5.sh | 3 | ||||
| -rwxr-xr-x | tests/scripts/bad/6.sh | 4 | ||||
| -rwxr-xr-x | tests/scripts/bad/7.sh | 4 |
7 files changed, 17 insertions, 2 deletions
diff --git a/tests/scripts/bad/2.sh b/tests/scripts/bad/2.sh index 03db180..73321be 100755 --- a/tests/scripts/bad/2.sh +++ b/tests/scripts/bad/2.sh @@ -1,3 +1,3 @@ #!/bin/sh -aplwc-repl -? +aplwc-repl -x -? diff --git a/tests/scripts/bad/3.sh b/tests/scripts/bad/3.sh index 55b2735..ff0e033 100755 --- a/tests/scripts/bad/3.sh +++ b/tests/scripts/bad/3.sh @@ -1,3 +1,3 @@ #!/bin/sh -aplwc-repl some-file-which-does-not-exist +aplwc-repl -x some-file-which-does-not-exist diff --git a/tests/scripts/bad/4.aplwc b/tests/scripts/bad/4.aplwc new file mode 100755 index 0000000..af9da70 --- /dev/null +++ b/tests/scripts/bad/4.aplwc @@ -0,0 +1 @@ +#!/usr/bin/env aplwc-repl
\ No newline at end of file diff --git a/tests/scripts/bad/4.sh b/tests/scripts/bad/4.sh new file mode 100755 index 0000000..0c48eaf --- /dev/null +++ b/tests/scripts/bad/4.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +aplwc-repl -x f1 f2 diff --git a/tests/scripts/bad/5.sh b/tests/scripts/bad/5.sh new file mode 100755 index 0000000..8411e21 --- /dev/null +++ b/tests/scripts/bad/5.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +aplwc-repl -x /dev/stdin diff --git a/tests/scripts/bad/6.sh b/tests/scripts/bad/6.sh new file mode 100755 index 0000000..2d9a94c --- /dev/null +++ b/tests/scripts/bad/6.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +export APLWC_SIMULATE_FAILURE_PRINT_COUNT=1 +aplwc-repl -x 3>&- diff --git a/tests/scripts/bad/7.sh b/tests/scripts/bad/7.sh new file mode 100755 index 0000000..189a5f0 --- /dev/null +++ b/tests/scripts/bad/7.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +export APLWC_SIMULATE_FAILURE_AT=100 +aplwc-repl -x /dev/stdin |