[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/18: tests: Make tests inside container reproducible.
From: |
guix-commits |
Subject: |
05/18: tests: Make tests inside container reproducible. |
Date: |
Fri, 5 Aug 2022 09:28:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4337e8466e142da60b9ac1f46d985c875e7fbe15
Author: Andrew Tropin <andrew@trop.in>
AuthorDate: Tue Aug 2 08:40:31 2022 +0300
tests: Make tests inside container reproducible.
* tests/guix-home.sh: Make tests inside container reproducible.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
tests/guix-home.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/guix-home.sh b/tests/guix-home.sh
index 1d1acbfd6e..d5e2dadbb5 100644
--- a/tests/guix-home.sh
+++ b/tests/guix-home.sh
@@ -107,7 +107,10 @@ EOF
if container_supported
then
- # Run the home in a container.
+ # Run the home in a container. Always use bash inside container for
+ # reproducibility of the tests.
+ # TODO: Make container independent from external environment variables.
+ SHELL=bash
guix home container home.scm -- true
! guix home container home.scm -- false
test "$(guix home container home.scm -- echo '$HOME')" = "$HOME"
- branch master updated (bd956bc57b -> d11a432adf), guix-commits, 2022/08/05
- 03/18: home: xdg: Skip mkdir XDG_RUNTIME_DIR in activation script., guix-commits, 2022/08/05
- 05/18: tests: Make tests inside container reproducible.,
guix-commits <=
- 07/18: gnu: gnome-shell-extension-appindicator: Update to 42., guix-commits, 2022/08/05
- 08/18: gnu: Add texlive-abstract., guix-commits, 2022/08/05
- 09/18: gnu: Add texlive-breqn., guix-commits, 2022/08/05
- 11/18: gnu: Add texlive-datatool., guix-commits, 2022/08/05
- 13/18: gnu: Add texlive-sourcesanspro., guix-commits, 2022/08/05
- 02/18: home: xdg: Use a single @ instead of @@., guix-commits, 2022/08/05
- 04/18: home: Use warning instead of display., guix-commits, 2022/08/05
- 01/18: disarchive-manifest: Filter out origins without a hash., guix-commits, 2022/08/05
- 10/18: gnu: Add texlive-comment., guix-commits, 2022/08/05
- 12/18: gnu: Add texlive-physics., guix-commits, 2022/08/05