Added an ATF test-case for issue #18 (in shell).

This commit is contained in:
Juan RP
2013-11-01 18:35:25 +01:00
parent 1fd164b88b
commit c4a0568c08
5 changed files with 62 additions and 0 deletions

21
mk/test-shell.mk Normal file
View File

@@ -0,0 +1,21 @@
-include $(TOPDIR)/config.mk
.PHONY: all
all: $(TEST)
.PHONY: clean
clean:
.PHONY: install
install: all
install -d $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)
install -m755 $(TEST).sh $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)/$(TEST)
ifdef EXTRA_FILES
for f in $(EXTRA_FILES); do \
install -m644 $${f} $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR); \
done
endif
.PHONY: uninstall
uninstall:
-rm -f $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)/$(TEST)