From d01b02f138ffac169d8b956a2e532518f4b7864a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 12 Jan 2023 15:29:33 -0600 Subject: [PATCH] Bash automatically exports PWD but mksh apparently sets it without exporting. --- tests/realpath.test | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/realpath.test b/tests/realpath.test index e8267589..89b45810 100755 --- a/tests/realpath.test +++ b/tests/realpath.test @@ -5,6 +5,7 @@ #testing "name" "command" "result" "infile" "stdin" TOP="$(readlink -f .)" +export PWD touch file mkdir -p one/two/three -- 2.39.2