diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2019-03-24 00:10:51 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-24 00:13:53 +0100 |
| commit | 9c2e58564f3c8b53ce86d5791e3ea5818e1a4fd6 (patch) | |
| tree | affd7882b3fea547a59146cddd503e6ae2e47c29 /tests | |
| parent | 94aeec0aef03ab44e41bfc3e77c3b623cb3d607c (diff) | |
tests: Adjust 'guix pack -f squashfs' test.
This is a followup to 427c87d0bdc06cc3ee7fc220fd3ad36084412533.
* tests/pack.scm ("squashfs-image + localstatedir"): Expect "bin" to be
a relative symlink.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pack.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/pack.scm b/tests/pack.scm index 40473a9fe93..ea88cd89f24 100644 --- a/tests/pack.scm +++ b/tests/pack.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2017, 2018 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> | 3 | ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> |
| 4 | ;;; | 4 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 5 | ;;; This file is part of GNU Guix. |
| @@ -206,7 +206,11 @@ | |||
| 206 | (file-exists? "var/guix/db/db.sqlite") | 206 | (file-exists? "var/guix/db/db.sqlite") |
| 207 | (string=? (string-append #$%bootstrap-guile "/bin") | 207 | (string=? (string-append #$%bootstrap-guile "/bin") |
| 208 | (pk 'binlink (readlink bin))) | 208 | (pk 'binlink (readlink bin))) |
| 209 | (string=? (string-append #$profile "/bin") | 209 | |
| 210 | ;; This is a relative symlink target. | ||
| 211 | (string=? (string-drop | ||
| 212 | (string-append #$profile "/bin") | ||
| 213 | 1) | ||
| 210 | (pk 'guilelink (readlink "bin")))) | 214 | (pk 'guilelink (readlink "bin")))) |
| 211 | (mkdir #$output)))))))) | 215 | (mkdir #$output)))))))) |
| 212 | (built-derivations (list check))))) | 216 | (built-derivations (list check))))) |
