Makefile.testcases 645 B

12345678910111213141516171819
  1. manifests = $(wildcard ../../../../*.manifest.template) manifest
  2. testcases = $(filter-out $(wildcard *.*) $(patsubst %/,%,$(wildcard */)) Makefile manifest pal_loader,$(wildcard *))
  3. exec_target = $(testcases)
  4. target = $(manifests) $(testcases) etc/nsswitch.conf etc/passwd
  5. level = ../../../../../../
  6. include ../../../../../../Makefile
  7. $(addsuffix .template,$(manifests)): %: ../../../../%
  8. ln -sf $< $@
  9. etc/nsswitch.conf:
  10. mkdir -p etc
  11. echo "passwd: compat\ngroup: compat\nshadow: compat\nhosts: files" > $@
  12. etc/passwd:
  13. mkdir -p etc
  14. echo "root:x:0:0:root:/root:/bin/bash\nnobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin" > $@