bash-preexec: fix build with Bats 1.5.0
commit550dab224a26ec25e20e82c0c8bfc764e01b772e
authorRobert Helgesson <robert@rycee.net>
dateMon 1 Nov 2021, 23:44 (5 years ago)
parent1d6e94d
pkgs/development/libraries/bash/bash-preexec/default.nix+4
@@ -21,6 +21,10 @@ in stdenvNoCC.mkDerivation {
2121 patchPhase = ''
2222 # Needed since the tests expect that HISTCONTROL is set.
2323 sed -i '/setup()/a HISTCONTROL=""' test/bash-preexec.bats
24+
25+ # Skip tests failing with Bats 1.5.0.
26+ # See https://github.com/rcaloras/bash-preexec/issues/121
27+ sed -i '/^@test.*IFS/,/^}/d' test/bash-preexec.bats
2428 '';
2529
2630 checkPhase = ''