From 67101e48be1ad86d76fe208d079f423cb40adb6e Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sat, 25 Feb 2017 15:21:48 +0000 Subject: [PATCH] notes on out of order errors --- TODO | 15 +++++++++++++++ test/test_seq.sh | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 40c1ca70..a13047b3 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,18 @@ +- try + + vips replicate images/йцук.jpg huge.png 30 5 + vipsthumbnail huge.png -s 135 + vips resize huge.png x.png 0.0044 + + out of order read error >50% of the time + + but + + vips resize huge.png x.png 0.001 + vips resize huge.png x.png 0.0001 + + both work fine + - vips linecache has access there twice! $ vips linecache diff --git a/test/test_seq.sh b/test/test_seq.sh index 627943e0..e220a981 100755 --- a/test/test_seq.sh +++ b/test/test_seq.sh @@ -35,11 +35,11 @@ if ! $vipsheader $tmp/x.png > /dev/null 2>&1 ; then fi echo "ok" -printf "testing shrink does not make temps ... " +printf "testing resize does not make temps ... " rm -f $tmp/x.png -$vips shrink $huge $tmp/x.png 230 230 +$vips resize $huge $tmp/x.png 0.0044 if ! $vipsheader $tmp/x.png > /dev/null 2>&1 ; then - echo "shrink made a temp" + echo "resize made a temp" exit 1 fi echo "ok"