aboutsummaryrefslogtreecommitdiff
path: root/test/error/bad-width.sh
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-05-22 18:01:53 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-05-22 18:01:53 +1200
commita08d36176dc702e643e9c29a1401ced14b6439d6 (patch)
tree5d578e7bf5b5dbda0e3fadfacfcb7be2cea7bc2b /test/error/bad-width.sh
parent6feec7c7c39a72cce84c9d18ffc6ff7a8e86f91d (diff)
downloadpgm-interlace-a08d36176dc702e643e9c29a1401ced14b6439d6.tar.xz
Add bad width test
Diffstat (limited to 'test/error/bad-width.sh')
-rwxr-xr-xtest/error/bad-width.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/error/bad-width.sh b/test/error/bad-width.sh
new file mode 100755
index 0000000..19c145e
--- /dev/null
+++ b/test/error/bad-width.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+${EXECUTABLE} /dev/stdin << EOF
+P5
+a
+2
+255
+11
+11
+EOF