diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2025-06-20 10:29:20 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-06-26 16:56:54 +0200 |
| commit | 98efb6c77b4b91bfbc04b457c6ae53dcfe76e7dd (patch) | |
| tree | 34e737544ae34cea6aad10978bcce63ad4a5a589 | |
| parent | a9d7423644625445594442450343588afab951d9 (diff) | |
tests: Improve guix-pack-relocatable.sh.
This patch fixes a regression introduced by c9abfacd9f.
See https://issues.guix.gnu.org/76240#2.
* tests/guix-pack-relocatable.sh (tarball): Improve flaky test.
Change-Id: Ife1cbe6b6b9a22f2442e4ecb3a093c4b874bc4e1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | tests/guix-pack-relocatable.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/guix-pack-relocatable.sh b/tests/guix-pack-relocatable.sh index 2fc9fde0bd9..aea02e16f69 100644 --- a/tests/guix-pack-relocatable.sh +++ b/tests/guix-pack-relocatable.sh | |||
| @@ -216,7 +216,12 @@ chmod -Rf +w "$test_directory"; rm -rf "$test_directory"/* | |||
| 216 | # Ensure '-R' applies to propagated inputs. Failing to do that, it would fail | 216 | # Ensure '-R' applies to propagated inputs. Failing to do that, it would fail |
| 217 | # with a profile collision error in this case because 'python-scipy' | 217 | # with a profile collision error in this case because 'python-scipy' |
| 218 | # propagates 'python-numpy'. See <https://bugs.gnu.org/42510>. | 218 | # propagates 'python-numpy'. See <https://bugs.gnu.org/42510>. |
| 219 | guix pack -RR python-numpy python-scipy --no-grafts -n | 219 | # |
| 220 | # 'python-scipy' depends on the package defined with the Guile variable | ||
| 221 | # 'python-numpy' but the package specification 'python-numpy' doesn't always | ||
| 222 | # refer to the same package (e.g. when multiple versions are defined) so the | ||
| 223 | # Guile variable is directly referred to. | ||
| 224 | guix pack -RR -e '(@ (gnu packages python-xyz) python-numpy)' python-scipy --no-grafts -n | ||
| 220 | 225 | ||
| 221 | # Check that packages that mix executable and support files (e.g. git) in the | 226 | # Check that packages that mix executable and support files (e.g. git) in the |
| 222 | # "binary" directories still work after wrapped. | 227 | # "binary" directories still work after wrapped. |
