diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-04-01 02:04:11 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2015-04-01 02:04:11 +0000 |
commit | b8baab1ef58b3bbb25caafa9f0d808f503528832 (patch) | |
tree | 17c6645d660f197e202bab8e9c6d8b6e25b6c45d /test/pamcut.test | |
parent | 22a5accc85c58382f3ded1fe7f637488987819c9 (diff) | |
download | netpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.tar.gz netpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.tar.xz netpbm-mirror-b8baab1ef58b3bbb25caafa9f0d808f503528832.zip |
restructure tests: check-tree, check-package, check-install; add Valgrind facility; doesn't overwrite prior test results
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2443 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pamcut.test')
-rwxr-xr-x | test/pamcut.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/pamcut.test b/test/pamcut.test index 5a94de46..fd9185a3 100755 --- a/test/pamcut.test +++ b/test/pamcut.test @@ -1,18 +1,18 @@ #! /bin/bash # This script tests: pamcut pbmmake -# Also requires: +# Also requires: - alias pamcut="${PBM_TESTPREFIX}pamcut" - alias pbmmake="${PBM_TESTPREFIX}pbmmake" - shopt -s expand_aliases # Test 1. Should print 2958909756 124815 pamcut -top 0 -left 0 -width 260 -height 160 \ -pad testimg.ppm | cksum + # Test 2. Should print 1550940962 10933 pamcut -top 200 -left 120 -width 40 -height 40 \ -pad testimg.ppm | cksum + # Test 3. Should print 708474423 14 pamcut -top 5 -left 5 -bottom 5 -right 5 testimg.ppm | cksum -# Test 3. Should print 3412257956 129 + +# Test 4. Should print 3412257956 129 pbmmake -g 50 50 | pamcut 5 5 30 30 | cksum |