mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Fix $PATH in tests
This commit is contained in:
parent
84965ad8c3
commit
84b0573f7d
1 changed files with 6 additions and 0 deletions
6
.github/workflows/GNU.yml
vendored
6
.github/workflows/GNU.yml
vendored
|
@ -47,6 +47,12 @@ jobs:
|
||||||
sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${BUILDDIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" Makefile
|
sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${BUILDDIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" Makefile
|
||||||
sed -i 's| tr | /usr/bin/tr |' tests/init.sh
|
sed -i 's| tr | /usr/bin/tr |' tests/init.sh
|
||||||
make
|
make
|
||||||
|
# Generate the factor tests, so they can be fixed
|
||||||
|
for i in $(seq -w 1 36)
|
||||||
|
do
|
||||||
|
make tests/factor/t${i}.sh
|
||||||
|
done
|
||||||
|
grep -rl 'path_prepend_' tests/* | xargs sed -i 's|path_prepend_ ./src||'
|
||||||
test -f "${BUILDDIR}/getlimits" || cp src/getlimits "${BUILDDIR}"
|
test -f "${BUILDDIR}/getlimits" || cp src/getlimits "${BUILDDIR}"
|
||||||
- name: Run GNU tests
|
- name: Run GNU tests
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue