summaryrefslogtreecommitdiff
path: root/test/args/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/args/Makefile')
-rw-r--r--test/args/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/args/Makefile b/test/args/Makefile
index a4bcfc588..8c466df9c 100644
--- a/test/args/Makefile
+++ b/test/args/Makefile
@@ -29,8 +29,14 @@ arg_test: arg_test.c Makefile $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- ./$@ a b c d e f g h
+ env -i \
+ ENVVAR=123 \
+ SOMETHING=sldajfasdf \
+ BLAHBLAH=" hi hi " \
+ ./$@ a b c d e f g h \
+ > arg_test.out
+ diff -u arg_test.out.good arg_test.out
-@ echo " "
clean:
- $(RM) *.[oa] *~ core $(TARGETS)
+ $(RM) *.[oa] *~ core $(TARGETS) *.out