NetBSD/usr.bin/make/unit-tests/archive.exp
rillig b3ea8e45d1 make(1): in archive test, use wildcard that matches more than 1 file
This is to make sure that the buffer used for "archive(member)" is
properly reset after each member.
2020-08-23 17:51:24 +00:00

14 lines
301 B
Plaintext

rm -f libprog.a
ar cru libprog.a archive.mk modmisc.mk varmisc.mk
ranlib libprog.a
ar t libprog.a
archive.mk
modmisc.mk
varmisc.mk
list-archive-wildcard: archive.mk
list-archive-wildcard: ternary.mk
depend-on-existing-member
`depend-on-nonexistent-member' is up to date.
rm -f libprog.a
exit status 0