mirror of
https://github.com/uutils/coreutils
synced 2024-07-22 10:24:54 +00:00
Fix $PATH in tests
This commit is contained in:
parent
84965ad8c3
commit
84b0573f7d
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| tr | /usr/bin/tr |' tests/init.sh
|
||||
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}"
|
||||
- name: Run GNU tests
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue