aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/dir-expand-path.mk
blob: 1ce349cce385fc0d4af5f01850740bfa7bff8735 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: dir-expand-path.mk,v 1.1 2020/08/22 21:55:54 rillig Exp $
#
# Tests for filename expansion in the search path.

_!=	rm -rf dir-expand-path.dir.*
_!=	mkdir dir-expand-path.dir.1
_!=	mkdir dir-expand-path.dir.2
_!=	touch dir-expand-path.dir.1/file1.src
_!=	touch dir-expand-path.dir.1/file2.src
_!=	touch dir-expand-path.dir.2/file3.src

.PATH: dir-expand-path.dir.1
.PATH: dir-expand-path.dir.2

all: *.src
	@printf '%s\n' ${.ALLSRC:O}

.END:
	@rm -rf dir-expand-path.dir.*