Merge pull request #2573 from jtojnar/single-bin-coreutils-extensions

tests/test-cli-extensions: Fix with single-binary coreutils
This commit is contained in:
Colin Walters authored and GitHub committed 2022-03-28 11:11:55 -04:00
commit 86741ad18a
1 file changed
+3 -1
+3 -1
View File
@@ -15,7 +15,9 @@ echo '1..2'
mkdir -p ./localbin
ORIG_PATH="${PATH}"
export PATH="./localbin/:${PATH}"
ln -s /usr/bin/env ./localbin/ostree-env
echo '#!/bin/sh' >> ./localbin/ostree-env
echo 'env "$@"' >> ./localbin/ostree-env
chmod +x ./localbin/ostree-env
export A_CUSTOM_TEST_FLAG="myvalue"
${CMD_PREFIX} ostree env >out.txt
assert_file_has_content out.txt "^A_CUSTOM_TEST_FLAG=myvalue"