xref: /freebsd/usr.bin/bmake/tests/sysmk/t2/2/1/legacy_test.sh (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1*5ae59decSJulio Merino#! /bin/sh
2*5ae59decSJulio Merino
3*5ae59decSJulio Merino. $(dirname $0)/../../../../common.sh
4*5ae59decSJulio Merino
5*5ae59decSJulio Merino# Description
6*5ae59decSJulio MerinoDESC="Can we traverse up to / and find a 'mk/sys.mk' with -m -C?"
7*5ae59decSJulio Merino
8*5ae59decSJulio Merino# Run
9*5ae59decSJulio MerinoTEST_N=1
10*5ae59decSJulio MerinoTEST_1="-m .../mk -C ../../../t0/2/1"
11*5ae59decSJulio MerinoTEST_MAKE_DIRS="../../mk 755 ../../../t0/mk 755 ../../../t0/2/1 755"
12*5ae59decSJulio MerinoTEST_COPY_FILES="../../mk/sys.mk 644 ../../../t0/mk/sys.mk 644 ../../../t0/2/1/Makefile.test 644"
13*5ae59decSJulio MerinoTEST_CLEAN_FILES="../../../t0/2/1"
14*5ae59decSJulio MerinoTEST_CLEANUP=clean-special
15*5ae59decSJulio Merino
16*5ae59decSJulio Merinoeval_cmd $*
17