diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | test/feh.t (renamed from test/test.pl) | 2 | 
2 files changed, 3 insertions, 3 deletions
| @@ -4,8 +4,8 @@ all:  	@${MAKE} -C src  test: all -	mandoc -Tlint man/* -	perl test/test.pl ${PACKAGE} ${VERSION} +	@mandoc -Tlint man/* +	@PACKAGE=${PACKAGE} VERSION=${VERSION} prove test  install: install-man install-doc install-bin install-font install-img diff --git a/test/test.pl b/test/feh.t index 4b18ccc..2db0db0 100644 --- a/test/test.pl +++ b/test/feh.t @@ -7,7 +7,7 @@ use Test::Command tests => 48;  my $feh = 'src/feh';  my $images = 'test/ok.* test/fail.*'; -my ($feh_name, $feh_version) = @ARGV; +my ($feh_name, $feh_version) = @ENV{'PACKAGE', 'VERSION'};  my $re_warning =  	qr{${feh_name} WARNING: test/fail\.... \- No Imlib2 loader for that file format\n}; | 
