xref: /freebsd/contrib/bmake/unit-tests/dir-expand-path.mk (revision 2c3632d14fe37fa35c262ee9fb66835be0a52621)
1*2c3632d1SSimon J. Gerraty# $NetBSD: dir-expand-path.mk,v 1.1 2020/08/22 21:55:54 rillig Exp $
2*2c3632d1SSimon J. Gerraty#
3*2c3632d1SSimon J. Gerraty# Tests for filename expansion in the search path.
4*2c3632d1SSimon J. Gerraty
5*2c3632d1SSimon J. Gerraty_!=	rm -rf dir-expand-path.dir.*
6*2c3632d1SSimon J. Gerraty_!=	mkdir dir-expand-path.dir.1
7*2c3632d1SSimon J. Gerraty_!=	mkdir dir-expand-path.dir.2
8*2c3632d1SSimon J. Gerraty_!=	touch dir-expand-path.dir.1/file1.src
9*2c3632d1SSimon J. Gerraty_!=	touch dir-expand-path.dir.1/file2.src
10*2c3632d1SSimon J. Gerraty_!=	touch dir-expand-path.dir.2/file3.src
11*2c3632d1SSimon J. Gerraty
12*2c3632d1SSimon J. Gerraty.PATH: dir-expand-path.dir.1
13*2c3632d1SSimon J. Gerraty.PATH: dir-expand-path.dir.2
14*2c3632d1SSimon J. Gerraty
15*2c3632d1SSimon J. Gerratyall: *.src
16*2c3632d1SSimon J. Gerraty	@printf '%s\n' ${.ALLSRC:O}
17*2c3632d1SSimon J. Gerraty
18*2c3632d1SSimon J. Gerraty.END:
19*2c3632d1SSimon J. Gerraty	@rm -rf dir-expand-path.dir.*
20