mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
tests.installer: Load profile with -o unset
Tested with an ubuntu case. Might need revision depending on what hydra thinks of the rest.
This commit is contained in:
parent
30af4a9e27
commit
2f0db04da0
1 changed files with 6 additions and 0 deletions
|
@ -217,10 +217,16 @@ let
|
||||||
$ssh <<EOF
|
$ssh <<EOF
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# enable nounset while loading the profile
|
||||||
|
# this may or may not work on all distros, depending on the quality of their scripts
|
||||||
|
set -u
|
||||||
|
|
||||||
# FIXME: get rid of this; ideally ssh should just work.
|
# FIXME: get rid of this; ideally ssh should just work.
|
||||||
source ~/.bash_profile || true
|
source ~/.bash_profile || true
|
||||||
source ~/.bash_login || true
|
source ~/.bash_login || true
|
||||||
source ~/.profile || true
|
source ~/.profile || true
|
||||||
|
set +u
|
||||||
|
|
||||||
source /etc/bashrc || true
|
source /etc/bashrc || true
|
||||||
|
|
||||||
nix-env --version
|
nix-env --version
|
||||||
|
|
Loading…
Reference in a new issue