From b08bfede5fecaeb48fe731869dfb7fca320e74dc Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 27 Nov 2019 17:30:13 +0000 Subject: [PATCH] try fixing the stream test on travis --- test/test_streams.c | 3 +++ test/test_streams.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_streams.c b/test/test_streams.c index 4c48bc94..369a1e87 100644 --- a/test/test_streams.c +++ b/test/test_streams.c @@ -108,6 +108,9 @@ main( int argc, char **argv ) if( VIPS_INIT( NULL ) ) return( -1 ); + if( argc != 3 ) + vips_error_exit( "usage: %s in-file out-file.png", argv[0] ); + my_input.filename = argv[1]; my_input.contents = NULL; my_input.length = 0; diff --git a/test/test_streams.sh b/test/test_streams.sh index c0a578e5..22ecadde 100755 --- a/test/test_streams.sh +++ b/test/test_streams.sh @@ -2,7 +2,7 @@ # test load and save via stream*u -# set -x +set -x set -e . ./variables.sh