Skip to content

Commit

Permalink
Merge pull request #2573 from jtojnar/single-bin-coreutils-extensions
Browse files Browse the repository at this point in the history
tests/test-cli-extensions: Fix with single-binary coreutils
  • Loading branch information
cgwalters authored Mar 28, 2022
2 parents 574d35b + 1898019 commit 86741ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test-cli-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 86741ad

Please sign in to comment.