Skip to content

Commit f959aed

Browse files
committed
Fetch modified csplit-io-err.sh test that uses /dev/full
1 parent fd299f0 commit f959aed

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

util/fetch-gnu.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash -e
2+
ver="9.9"
3+
repo=https://github.com/coreutils/coreutils
4+
curl -L "${repo}/releases/download/v${ver}/coreutils-${ver}.tar.xz" | tar --strip-components=1 -xJf -
5+
6+
# backport from coreutils > 9.9
7+
curl ${repo}/raw/refs/heads/master/tests/mv/hardlink-case.sh > tests/mv/hardlink-case.sh
8+
curl ${repo}/raw/refs/heads/master/tests/mkdir/writable-under-readonly.sh > tests/mkdir/writable-under-readonly.sh
9+
curl ${repo}/raw/refs/heads/master/tests/cp/cp-mv-enotsup-xattr.sh > tests/cp/cp-mv-enotsup-xattr.sh #spell-checker:disable-line
10+
11+
# Modified test that uses /dev/full instead of LD_PRELOAD (which doesn't work with Rust binaries)
12+
curl -L https://raw.githubusercontent.com/oech3/coreutils-1/refs/heads/patch-1/tests/csplit/csplit-io-err.sh > tests/csplit/csplit-io-err.sh

0 commit comments

Comments
 (0)