diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-03-03 07:30:19 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-03-17 18:45:40 +0100 |
| commit | 7e355ddb3a3f16c729bcefdf833919c6735756f0 (patch) | |
| tree | b292c23c90954fb5c93c3026b81094fcab2b0d3e /tests | |
| parent | 1da8766ebc030569d1845d25ff8923715ca4bd7a (diff) | |
tests: Fix guix-build-branch.sh.
* tests/guix-build-branch.sh: Use main branch instead of master after
move of guile-gcrypt to codeberg.
Merges guix/guix!6832
Change-Id: I6699cc20440a05d733d7d2bc93d820ca3a162e30
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/guix-build-branch.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/guix-build-branch.sh b/tests/guix-build-branch.sh index 2d3b115e789..bf052b230d0 100644 --- a/tests/guix-build-branch.sh +++ b/tests/guix-build-branch.sh | |||
| @@ -32,19 +32,19 @@ then | |||
| 32 | fi | 32 | fi |
| 33 | 33 | ||
| 34 | orig_drv="`guix build guile-gcrypt -d`" | 34 | orig_drv="`guix build guile-gcrypt -d`" |
| 35 | latest_drv="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -d`" | 35 | latest_drv="`guix build guile-gcrypt --with-branch=guile-gcrypt=main -d`" |
| 36 | test -n "$latest_drv" | 36 | test -n "$latest_drv" |
| 37 | test "$orig_drv" != "$latest_drv" | 37 | test "$orig_drv" != "$latest_drv" |
| 38 | 38 | ||
| 39 | # FIXME: '-S' currently doesn't work with non-derivation source. | 39 | # FIXME: '-S' currently doesn't work with non-derivation source. |
| 40 | # checkout="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -S`" | 40 | # checkout="`guix build guile-gcrypt --with-branch=guile-gcrypt=main -S`" |
| 41 | checkout="`guix gc --references "$latest_drv" | grep guile-gcrypt | grep -v -E '(-builder|\.drv)'`" | 41 | checkout="`guix gc --references "$latest_drv" | grep guile-gcrypt | grep -v -E '(-builder|\.drv)'`" |
| 42 | test -d "$checkout" | 42 | test -d "$checkout" |
| 43 | test -f "$checkout/COPYING" | 43 | test -f "$checkout/COPYING" |
| 44 | 44 | ||
| 45 | orig_drv="`guix build guix -d`" | 45 | orig_drv="`guix build guix -d`" |
| 46 | latest_drv="`guix build guix --with-branch=guile-gcrypt=master -d`" | 46 | latest_drv="`guix build guix --with-branch=guile-gcrypt=main -d`" |
| 47 | guix gc -R "$latest_drv" | grep guile-gcrypt-git.master | 47 | guix gc -R "$latest_drv" | grep guile-gcrypt-git.main |
| 48 | test "$orig_drv" != "$latest_drv" | 48 | test "$orig_drv" != "$latest_drv" |
| 49 | 49 | ||
| 50 | v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`" | 50 | v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`" |
