Skip to content

Commit 708f82a

Browse files
committed
GnuTests: skip misc/printenv.sh, superseded by the backported env/printenv.sh
1 parent caa9008 commit 708f82a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎util/fetch-gnu.sh‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,12 @@ for f in "${backport[@]}"; do
2323
grep -qF "tests/$f" Makefile.in ||
2424
sed -i "s|^all_tests =.*|&\n tests/$f\t\t\t\t\\\\|" Makefile.in
2525
done
26+
27+
# Tests that master moved or rewrote: the $ver copy expects the old behavior and
28+
# contradicts its backported replacement, so drop it from the test lists.
29+
superseded=(
30+
misc/printenv.sh # replaced by env/printenv.sh
31+
)
32+
for f in "${superseded[@]}"; do
33+
sed -i "\|^ tests/${f}[[:space:]]|d" tests/local.mk Makefile.in
34+
done

0 commit comments

Comments
 (0)