forked from mirrors/nixpkgs
faaa3bc131
Hopefully fixes #110149. I'm really annoyed with this on 21.05 now: https://hydra.nixos.org/build/147005675#tabs-buildsteps and this isn't the first time it's caused significant issues.
11 lines
434 B
Diff
11 lines
434 B
Diff
Use full bash's sh in tests instead of /bin/sh, as that would be
|
|
too minimalist in the build sandbox. See issue:
|
|
https://github.com/NixOS/nixpkgs/issues/110149#issuecomment-874258128
|
|
diff --git a/test/extracttest b/test/extracttest
|
|
--- a/test/extracttest
|
|
+++ b/test/extracttest
|
|
@@ -9,2 +9,3 @@ setupTests() {
|
|
$SUT $* archive makeself-test.run "Test $*" echo Testing
|
|
+ sed "1s|/bin|$(dirname "$SHELL")|" -i ./makeself-test.run
|
|
}
|