about summary refs log tree commit diff
path: root/test/ppmbrighten.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/ppmbrighten.test')
-rwxr-xr-xtest/ppmbrighten.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ppmbrighten.test b/test/ppmbrighten.test
new file mode 100755
index 00000000..72bebff4
--- /dev/null
+++ b/test/ppmbrighten.test
@@ -0,0 +1,7 @@
+#! /bin/bash
+# This script tests: ppmbrighten
+# Also requires: 
+
+${PBM_TESTPREFIX}ppmbrighten -v 100 testimg.ppm | cksum
+${PBM_TESTPREFIX}ppmbrighten -v 100 -normalize testimg.ppm | cksum
+${PBM_TESTPREFIX}ppmbrighten -s 100 -v -50 testimg.ppm | cksum