+if guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null
+then
+ guix package --bootstrap -e "$boot_make"
+ test -f "$HOME/.guix-profile/bin/make"
+ first_environment="`cd $HOME/.guix-profile ; pwd`"
+
+ guix package --bootstrap --roll-back
+ test -f "$HOME/.guix-profile/bin/guile"
+ ! test -f "$HOME/.guix-profile/bin/make"
+ test "`cd $HOME/.guix-profile ; pwd`" = "$first_environment"
+fi
+
+# Move to the empty profile.
+default_profile="`readlink "$HOME/.guix-profile"`"
+for i in `seq 1 3`
+do
+ guix package --bootstrap --roll-back
+ ! test -f "$HOME/.guix-profile/bin"
+ ! test -f "$HOME/.guix-profile/lib"
+ test "`readlink "$default_profile"`" = "$default_profile-0-link"
+done
+
+# Extraneous argument.
+if guix package install foo-bar;