diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-01-25 22:51:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-25 22:53:20 +0100 |
commit | ebcb5c8e120b39a3dd07c27bc17d520ee653ec23 (patch) | |
tree | 6df64317b114d2e567af0e8687d52f6f64e1f7c1 | |
parent | 852908d24de244cca438450f6b4844b8a7e40683 (diff) | |
download | guix-ebcb5c8e120b39a3dd07c27bc17d520ee653ec23.tar.gz |
tests: Do not try to create "$HOME/.config".
Previously this test would fail when HOME=/homeless-shelter and said directory cannot be created. * tests/guix-refresh.sh: Pass '--keyring' together with '-u'.
-rw-r--r-- | tests/guix-refresh.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/guix-refresh.sh b/tests/guix-refresh.sh index d9f13bac3a..c5214e1d6e 100644 --- a/tests/guix-refresh.sh +++ b/tests/guix-refresh.sh @@ -94,7 +94,8 @@ cat > "$module_dir/sample.scm"<<EOF "086vqwk2wl8zfs47sq2xpjc9k066ilmb8z6dn0q6ymwjzlm196cd")))))) EOF guix refresh -t test -L "$module_dir" the-test-package -guix refresh -t test -L "$module_dir" the-test-package -u +guix refresh -t test -L "$module_dir" the-test-package -u \ + --keyring="$module_dir/keyring.kbx" # so we don't create $HOME/.config grep 'version "5.5"' "$module_dir/sample.scm" grep "$(guix hash -H sha256 -f nix-base32 "$module_dir/source")" "$module_dir/sample.scm" |