michael@0: #T returncode-on: {'win32': 2} michael@0: $(shell \ michael@0: touch test.file; \ michael@0: ln -s test.file test.symlink; \ michael@0: ln -s test.missing missing.symlink; \ michael@0: touch .testhidden; \ michael@0: mkdir foo; \ michael@0: touch foo/testfile; \ michael@0: ln -s foo symdir; \ michael@0: ) michael@0: michael@0: all: michael@0: test "$(abspath test.file test.symlink)" = "$(CURDIR)/test.file $(CURDIR)/test.symlink" michael@0: test "$(realpath test.file test.symlink)" = "$(CURDIR)/test.file $(CURDIR)/test.file" michael@0: test "$(sort $(wildcard *))" = "foo symdir test.file test.symlink" michael@0: test "$(sort $(wildcard .*))" = ". .. .testhidden" michael@0: test "$(sort $(wildcard test*))" = "test.file test.symlink" michael@0: test "$(sort $(wildcard foo/*))" = "foo/testfile" michael@0: test "$(sort $(wildcard ./*))" = "./foo ./symdir ./test.file ./test.symlink" michael@0: test "$(sort $(wildcard f?o/*))" = "foo/testfile" michael@0: test "$(sort $(wildcard */*))" = "foo/testfile symdir/testfile" michael@0: @echo TEST-PASS