mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
tests: Rename nix-profile.sh -> bash-profile.sh
This commit is contained in:
parent
010ffc31f8
commit
c10865a46e
2 changed files with 1 additions and 1 deletions
9
tests/bash-profile.sh
Normal file
9
tests/bash-profile.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
source common.sh
|
||||
|
||||
sed -e "s|@localstatedir@|$TEST_ROOT/profile-var|g" -e "s|@coreutils@|$coreutils|g" < ../scripts/nix-profile.sh.in > $TEST_ROOT/nix-profile.sh
|
||||
|
||||
user=$(whoami)
|
||||
rm -rf $TEST_HOME $TEST_ROOT/profile-var
|
||||
mkdir -p $TEST_HOME
|
||||
USER=$user $SHELL -e -c ". $TEST_ROOT/nix-profile.sh; set"
|
||||
USER=$user $SHELL -e -c ". $TEST_ROOT/nix-profile.sh" # test idempotency
|
Loading…
Add table
Add a link
Reference in a new issue