($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment.

This commit is contained in:
Andreas Jaeger 2000-07-24 13:40:03 +00:00
parent 9a18638a3a
commit be608049f2

View File

@ -62,7 +62,8 @@ CFLAGS-test-ffs.c = -fno-builtin
ifeq ($(cross-compiling),no)
tests: $(objpfx)tst-svc.out
$(objpfx)tst-svc.out: $(objpfx)tst-svc
$(built-program-cmd) $< > $@
$(objpfx)tst-svc.out: tst-svc.input $(objpfx)tst-svc
GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
$(built-program-cmd) < $(word 1,$^) > $@
-cmp tst-svc.expect $(objpfx)tst-svc.out
endif