about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xtest/pamarith.test2
-rwxr-xr-xtest/pambrighten.test2
-rwxr-xr-xtest/pamcat1.test2
-rwxr-xr-xtest/pamchannel.test2
-rwxr-xr-xtest/pamcrater.test2
-rwxr-xr-xtest/pamdepth.test2
-rwxr-xr-xtest/pamditherbw.test2
-rwxr-xr-xtest/pamfile.test2
-rwxr-xr-xtest/pamfind.test2
-rwxr-xr-xtest/pamfunc.test2
-rwxr-xr-xtest/pamgauss.test2
-rwxr-xr-xtest/pamhue.test2
-rwxr-xr-xtest/pamrecolor.test2
-rwxr-xr-xtest/pamrestack.test2
-rwxr-xr-xtest/pamscale-reportonly.test2
-rwxr-xr-xtest/pamseq.test2
-rwxr-xr-xtest/pamshuffle.test2
-rwxr-xr-xtest/pamstack.test2
-rwxr-xr-xtest/pamsumm.test2
-rwxr-xr-xtest/pamtable.test2
-rwxr-xr-xtest/pbmclean.test2
-rwxr-xr-xtest/pbmmake.test2
-rwxr-xr-xtest/pbmnoise-parameters.test2
-rwxr-xr-xtest/pbmpage.test2
-rwxr-xr-xtest/pbmpscale.test2
-rwxr-xr-xtest/pbmtopgm.test2
-rwxr-xr-xtest/pgmhist.test2
-rwxr-xr-xtest/pgmmake.test2
-rwxr-xr-xtest/pgmnoise-parameters.test2
-rwxr-xr-xtest/pgmramp.test2
-rwxr-xr-xtest/pnmcat.test2
-rwxr-xr-xtest/pnmcolormap.test2
-rwxr-xr-xtest/pnmindex.test2
-rwxr-xr-xtest/pnmpsnr.test2
-rwxr-xr-xtest/pnmtile.test2
-rwxr-xr-xtest/ppmbrighten.test2
-rwxr-xr-xtest/ppmforge-parameters.test2
-rwxr-xr-xtest/ppmhist.test2
-rwxr-xr-xtest/ppmmake.test2
-rwxr-xr-xtest/ppmpat.test2
40 files changed, 40 insertions, 40 deletions
diff --git a/test/pamarith.test b/test/pamarith.test
index 20c4039d..8f5e35ef 100755
--- a/test/pamarith.test
+++ b/test/pamarith.test
@@ -118,7 +118,7 @@ rm ${input1_ppm}
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 # multiple functions
 
diff --git a/test/pambrighten.test b/test/pambrighten.test
index d79ad583..31d063be 100755
--- a/test/pambrighten.test
+++ b/test/pambrighten.test
@@ -52,7 +52,7 @@ rm ${input_pgm}
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pambrighten -v -120 testimg.ppm"
 invCmd "pambrighten -s -120 testimg.ppm"
diff --git a/test/pamcat1.test b/test/pamcat1.test
index 9480228c..fb8e39cd 100755
--- a/test/pamcat1.test
+++ b/test/pamcat1.test
@@ -187,7 +187,7 @@ rm ${seq2_4h_pam} ${seq2_4v_pam} ${seq2_4v3_pam} ${seq2_4h4_pam}
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 # direction not specified
 invCmd "pamcat testgrid.pbm testimg.ppm"
diff --git a/test/pamchannel.test b/test/pamchannel.test
index f3399343..e7ab4efb 100755
--- a/test/pamchannel.test
+++ b/test/pamchannel.test
@@ -41,7 +41,7 @@ test_out=${tmpdir}/test_out
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamchannel  -infile testgrid.pbm 1"
 invCmd "pamchannel  -infile testimg.ppm 3"
diff --git a/test/pamcrater.test b/test/pamcrater.test
index 5362bde3..8c78ac6b 100755
--- a/test/pamcrater.test
+++ b/test/pamcrater.test
@@ -58,7 +58,7 @@ echo "Test Invalid."
 
 test_out=${tmpdir}/test_out
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamcrater -width 0"
 invCmd "pamcrater -height 0"
diff --git a/test/pamdepth.test b/test/pamdepth.test
index e938a630..e4e0684c 100755
--- a/test/pamdepth.test
+++ b/test/pamdepth.test
@@ -24,7 +24,7 @@ pamdepth 255 testimg.ppm | cmp -s - testimg.ppm
 # Test Invalid
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamdepth 0 testgrid.pbm"
 invCmd "pamdepth 65536 testimg.ppm"
diff --git a/test/pamditherbw.test b/test/pamditherbw.test
index 76bcdbd7..3c21dc4b 100755
--- a/test/pamditherbw.test
+++ b/test/pamditherbw.test
@@ -39,7 +39,7 @@ pamditherbw -cluster8 ${test_red} | cksum
 
 echo "Test: Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamditherbw -fs -atkinson       ${test_red}"
 invCmd "pamditherbw -floyd -atkinson    ${test_red}"
diff --git a/test/pamfile.test b/test/pamfile.test
index d605326d..11db2f3a 100755
--- a/test/pamfile.test
+++ b/test/pamfile.test
@@ -22,7 +22,7 @@ cat testgrid.pbm testimg.ppm testgrid.pbm | pamfile -machine
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamfile -size -machine  testimg.ppm"
 invCmd "pamfile -count -machine testimg.ppm"
diff --git a/test/pamfind.test b/test/pamfind.test
index 079e35f4..68aa0a20 100755
--- a/test/pamfind.test
+++ b/test/pamfind.test
@@ -33,7 +33,7 @@ rm ${sorted0_res} ${sorted1_res}
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamfind -color=black -target=1,1,1 testimg.ppm"
 invCmd "pamfind -target=0,0 testimg.ppm"
diff --git a/test/pamfunc.test b/test/pamfunc.test
index b1b9edfc..16d4c36d 100755
--- a/test/pamfunc.test
+++ b/test/pamfunc.test
@@ -87,7 +87,7 @@ pamfunc -shiftright 0 maze.pbm | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamfunc -multiplier testimg.ppm"
 invCmd "pamfunc -multiplier=-1 testimg.ppm"
diff --git a/test/pamgauss.test b/test/pamgauss.test
index 34b6630a..09e400b3 100755
--- a/test/pamgauss.test
+++ b/test/pamgauss.test
@@ -19,7 +19,7 @@ pamgauss 3 3 -sigma=0.5 -tupletype="GRAYSCALE" | pamfile
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamgauss       -sigma=0.5 "
 invCmd "pamgauss 0 5   -sigma=0.5 "
diff --git a/test/pamhue.test b/test/pamhue.test
index ce148a45..d538daec 100755
--- a/test/pamhue.test
+++ b/test/pamhue.test
@@ -34,6 +34,6 @@ pamhue -huechange=360 testimg.ppm | cmp -s - testimg.ppm
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamhue testimg.ppm "
diff --git a/test/pamrecolor.test b/test/pamrecolor.test
index b5674776..e88346ff 100755
--- a/test/pamrecolor.test
+++ b/test/pamrecolor.test
@@ -16,7 +16,7 @@ echo "Test 2. Should produce 3500040755 101532 twice"
 pamrecolor --targetcolor=rgb:80/80/80 testimg.ppm | cksum
 pamrecolor --colorspace=ntsc --targetcolor=rgb:80/80/80 testimg.ppm | cksum
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 truncated_file=${tmpdir}/truncated.txt
 echo P6 > ${truncated_file}
diff --git a/test/pamrestack.test b/test/pamrestack.test
index c91830e4..6f607ff6 100755
--- a/test/pamrestack.test
+++ b/test/pamrestack.test
@@ -58,7 +58,7 @@ pamrestack \
 test_out=${tmpdir}/test_out
 echo "Test Invalid."
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamrestack testgrid.pbm maze.pbm"
 invCmd "pamrestack -abort -width=$((pixels * 2 + 1 )) maze.pbm"
diff --git a/test/pamscale-reportonly.test b/test/pamscale-reportonly.test
index 39745809..a759e4e3 100755
--- a/test/pamscale-reportonly.test
+++ b/test/pamscale-reportonly.test
@@ -19,7 +19,7 @@ pamscale -reportonly -pixels=45000 testimg.ppm
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 # Expected failure cases
 
diff --git a/test/pamseq.test b/test/pamseq.test
index 894e8d6d..33379b46 100755
--- a/test/pamseq.test
+++ b/test/pamseq.test
@@ -8,7 +8,7 @@ pamseq 1 255 | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamseq 1"
 invCmd "pamseq 0 255"
diff --git a/test/pamshuffle.test b/test/pamshuffle.test
index 371b65a5..8b58783f 100755
--- a/test/pamshuffle.test
+++ b/test/pamshuffle.test
@@ -46,7 +46,7 @@ rm ${out1_pam}
 test_out=${tmpdir}/test_out
 echo "Test Invalid."
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamshuffle testimg.ppm testgrid.pbm"
 invCmd "pamshuffle -randomseed -column testgrid.pbm"
diff --git a/test/pamstack.test b/test/pamstack.test
index 6374c4bd..62baab2d 100755
--- a/test/pamstack.test
+++ b/test/pamstack.test
@@ -98,7 +98,7 @@ test "$s0" = "$s2" && echo "true" || echo "false"
 # Test Invalid
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamstack testgrid.pbm testimg.ppm"
 invCmd "pamstack ${i1_pgm} ${std_pgm}"
diff --git a/test/pamsumm.test b/test/pamsumm.test
index eb41ee36..cd58913f 100755
--- a/test/pamsumm.test
+++ b/test/pamsumm.test
@@ -26,7 +26,7 @@ for type in -sum -min -max -mean
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pamsumm -sum -min  testimg.ppm"
 invCmd "pamsumm -sum -max  testimg.ppm"
diff --git a/test/pamtable.test b/test/pamtable.test
index d42187f9..c7a0e962 100755
--- a/test/pamtable.test
+++ b/test/pamtable.test
@@ -46,7 +46,7 @@ for maxval in 9 10 9999 10000 65535
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 input1_pam=${tmpdir}/input1.pam
 
diff --git a/test/pbmclean.test b/test/pbmclean.test
index 64ed6df0..0200df7e 100755
--- a/test/pbmclean.test
+++ b/test/pbmclean.test
@@ -37,7 +37,7 @@ rm ${sheet_pbm}
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 # overspecification
 invCmd "pbmclean -black -white -min=1 -extended testgrid.pbm"
diff --git a/test/pbmmake.test b/test/pbmmake.test
index 32153f95..909ee8c8 100755
--- a/test/pbmmake.test
+++ b/test/pbmmake.test
@@ -24,7 +24,7 @@ done
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pbmmake -b -w -plain 1 1"
 invCmd "pbmmake -b -g -plain 1 1"
diff --git a/test/pbmnoise-parameters.test b/test/pbmnoise-parameters.test
index d0e04ebf..a0d1bcc8 100755
--- a/test/pbmnoise-parameters.test
+++ b/test/pbmnoise-parameters.test
@@ -4,7 +4,7 @@
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 # Invalid -ratio arguments
 
diff --git a/test/pbmpage.test b/test/pbmpage.test
index 9cb46e22..b8776864 100755
--- a/test/pbmpage.test
+++ b/test/pbmpage.test
@@ -11,7 +11,7 @@ pbmpage -a4 2 | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pbmpage -a3 1"
 invCmd "pbmpage 0"
diff --git a/test/pbmpscale.test b/test/pbmpscale.test
index b99561f6..92965c5d 100755
--- a/test/pbmpscale.test
+++ b/test/pbmpscale.test
@@ -27,7 +27,7 @@ pbmtext -nomargin "10" | pbmpscale 10 | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pbmpscale testgrid.pbm"
 invCmd "pbmpscale 0 testgrid.pbm"
diff --git a/test/pbmtopgm.test b/test/pbmtopgm.test
index 19378bb6..f9aeb1a1 100755
--- a/test/pbmtopgm.test
+++ b/test/pbmtopgm.test
@@ -9,7 +9,7 @@ pbmtopgm -plain 1 1 testgrid.pbm
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pbmtopgm 5 0 testgrid.pbm"
 invCmd "pbmtopgm 0 9 testgrid.pbm"
diff --git a/test/pgmhist.test b/test/pgmhist.test
index 5c458a57..22244ad2 100755
--- a/test/pgmhist.test
+++ b/test/pgmhist.test
@@ -26,7 +26,7 @@ pgmramp -lr 256 1 | pgmhist -machine -decile   | \
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pgmhist -median   -quartile testgrid.pbm"
 invCmd "pgmhist -median   -decile   testgrid.pbm"
diff --git a/test/pgmmake.test b/test/pgmmake.test
index d8e248d4..acbe75a4 100755
--- a/test/pgmmake.test
+++ b/test/pgmmake.test
@@ -12,7 +12,7 @@ pgmmake .2 50 100 -maxval=5 | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pgmmake"
 invCmd "pgmmake 100  5 5"
diff --git a/test/pgmnoise-parameters.test b/test/pgmnoise-parameters.test
index 871aacf9..127b4b3f 100755
--- a/test/pgmnoise-parameters.test
+++ b/test/pgmnoise-parameters.test
@@ -4,7 +4,7 @@
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pgmnoise"
 invCmd "pgmnoise -maxval=255  -randomseed=1"
diff --git a/test/pgmramp.test b/test/pgmramp.test
index 84fe02ca..49f71209 100755
--- a/test/pgmramp.test
+++ b/test/pgmramp.test
@@ -21,7 +21,7 @@ pgmramp -diagonal -maxval=510 256 256 | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 
 for combination in "-lr -tb" "-lr -rectangle" "-rectangle -ellipse"
diff --git a/test/pnmcat.test b/test/pnmcat.test
index 8779638b..0db06fd5 100755
--- a/test/pnmcat.test
+++ b/test/pnmcat.test
@@ -100,7 +100,7 @@ rm ${diag_ppm}
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 # direction not specified
 invCmd "pnmcat testgrid.pbm testimg.ppm"
diff --git a/test/pnmcolormap.test b/test/pnmcolormap.test
index 953dece3..4efefb39 100755
--- a/test/pnmcolormap.test
+++ b/test/pnmcolormap.test
@@ -36,7 +36,7 @@ rm ${map}
 echo
 echo "Test Invalid."
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pnmcolormap 0 testimg.ppm  "
 invCmd "pnmcolormap -1 testimg.ppm "
diff --git a/test/pnmindex.test b/test/pnmindex.test
index 174f60bd..fbdcc038 100755
--- a/test/pnmindex.test
+++ b/test/pnmindex.test
@@ -44,7 +44,7 @@ pnmindex -size 50 -across=2 -quant -colors=256 testimg.ppm testimg.ppm testimg.p
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pnmindex -size -1 testgrid.pbm"
 invCmd "pnmindex -size  0 testgrid.pbm"
diff --git a/test/pnmpsnr.test b/test/pnmpsnr.test
index 6ea05aed..e1d9d4f0 100755
--- a/test/pnmpsnr.test
+++ b/test/pnmpsnr.test
@@ -27,7 +27,7 @@ pnmpsnr  testimg.ppm  testimg.ppm -target1=1000 -target2=1000 -target3=1000
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pnmpsnr ${b_pbm} ${w_pbm} ${b_pbm}    "
 invCmd "pnmpsnr ${b_pbm}                      "
diff --git a/test/pnmtile.test b/test/pnmtile.test
index 35addbec..93f45f60 100755
--- a/test/pnmtile.test
+++ b/test/pnmtile.test
@@ -21,7 +21,7 @@ echo ${PIPESTATUS[@]} ":" $?
 
 rm ${testimg2_ppm} ${testimg4_ppm}
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pnmtile 100 testgrid.pbm"
 invCmd "pnmtile 100 0 testgrid.pbm"
diff --git a/test/ppmbrighten.test b/test/ppmbrighten.test
index 8ae1d744..45b60ae5 100755
--- a/test/ppmbrighten.test
+++ b/test/ppmbrighten.test
@@ -23,7 +23,7 @@ ppmbrighten -v 100 -normalize testimg.ppm | pamsumm --mean | \
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "pambrighten -v -120 testimg.ppm"
 invCmd "pambrighten -s -120 testimg.ppm"
diff --git a/test/ppmforge-parameters.test b/test/ppmforge-parameters.test
index 0525e7af..5a5b4be9 100755
--- a/test/ppmforge-parameters.test
+++ b/test/ppmforge-parameters.test
@@ -24,7 +24,7 @@ echo "Test Invalid"
 tmpdir=${tmpdir:-/tmp}
 test_out=${tmpdir}/test_out
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "ppmforge -seed=0 -night -dimension=0"
 invCmd "ppmforge -seed=0 -dimension=10"
diff --git a/test/ppmhist.test b/test/ppmhist.test
index 1e814eb7..bc2cfc02 100755
--- a/test/ppmhist.test
+++ b/test/ppmhist.test
@@ -27,7 +27,7 @@ ppmpat -madras --color=rgb:00/00/00,rgb:31/58/a3,rgb:ff/ff/ff 25 25 | \
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "ppmhist -hexcolor -float testimg.ppm"
 invCmd "ppmhist -hexcolor -map   testimg.ppm"
diff --git a/test/ppmmake.test b/test/ppmmake.test
index 295e0bf4..35275110 100755
--- a/test/ppmmake.test
+++ b/test/ppmmake.test
@@ -12,7 +12,7 @@ ppmmake red 50 50  | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "ppmmake rgb:gg/00/00  2 2"
 invCmd "ppmmake rgb:ff/ff/00  2"
diff --git a/test/ppmpat.test b/test/ppmpat.test
index 00f8421e..acc44bdb 100755
--- a/test/ppmpat.test
+++ b/test/ppmpat.test
@@ -41,7 +41,7 @@ ppmpat -argyle2 --color=rgb:00/00/00,rgb:ff/80/80,rgb:e0/e0/e0 12 18 | cksum
 
 echo "Test Invalid"
 
-. ${srcdir}/test-invalid.inc
+. ./test-invalid.inc
 
 invCmd "ppmpat -g2 -g3 10 10"
 invCmd "ppmpat -madras -tartan 10 10"