]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/dir-expand-path.mk
Update to bmake-20200902
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / dir-expand-path.mk
1 # $NetBSD: dir-expand-path.mk,v 1.1 2020/08/22 21:55:54 rillig Exp $
2 #
3 # Tests for filename expansion in the search path.
4
5 _!=     rm -rf dir-expand-path.dir.*
6 _!=     mkdir dir-expand-path.dir.1
7 _!=     mkdir dir-expand-path.dir.2
8 _!=     touch dir-expand-path.dir.1/file1.src
9 _!=     touch dir-expand-path.dir.1/file2.src
10 _!=     touch dir-expand-path.dir.2/file3.src
11
12 .PATH: dir-expand-path.dir.1
13 .PATH: dir-expand-path.dir.2
14
15 all: *.src
16         @printf '%s\n' ${.ALLSRC:O}
17
18 .END:
19         @rm -rf dir-expand-path.dir.*