#! /bin/sh # $NetBSD: spec,v 1.2 2020/02/09 22:39:21 rillig Exp $ # # Ensures that the PATH variable can contain spaces, and that commands in # such directories can be found and executed. # # For its own directories (PREFIX, WRKDIR), pkgsrc does not support paths # with spaces, though. do_test() { env \ PATH="/Path with spaces:$PATH:/Path with spaces" \ PKGNAME="package-1.0" \ $TEST_MAKE \ -f "../../mk/bsd.pkg.mk" \ show-var VARNAME=PATH > "$TEST_OUTFILE" } check_result() { exit_status 0 output_require ":/Path with spaces:" output_require "/Path with spaces$" }