mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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'.
This commit is contained in:
parent
852908d24d
commit
ebcb5c8e12
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue