1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

Use system sha1sum in factor tests

This commit is contained in:
James Robson 2021-03-04 17:33:31 +00:00
parent a395af7ee7
commit 20082971be

View file

@ -62,7 +62,7 @@ jobs:
make tests/factor/t${i}.sh
done
grep -rl 'path_prepend_' tests/* | xargs sed -i 's|path_prepend_ ./src||'
sed -i -e 's|^seq |/usr/bin/seq |' tests/factor/t*sh
sed -i -e 's|^seq |/usr/bin/seq |' -e "s|sha1sum |$(which sha1sum) |" tests/factor/t*sh
# Remove tests checking for --version & --help
# Not really interesting for us and logs are too big