summaryrefslogtreecommitdiff
path: root/tests/guix-environment-container.sh
Commit message (Expand)AuthorAgeFilesLines
* environment: Correctly handle abnormal exits.•••Fixes <http://bugs.gnu.org/21958>. * guix/scripts/environment.scm (status->exit-code): New procedure. (exit/status, primitive-exit/status): Use it. * tests/guix-environment-container.sh: Add test. Ludovic Courtès2015-11-211-0/+7
* tests: Skip 'guix-container-environment.sh' when support is missing.•••Fixes <http://bugs.gnu.org/21410>. Reported by Alex Vong <alexvong1995@gmail.com>. * tests/guix-environment-container.sh: Exit with 77 when '((@@ (guix scripts environment) assert-container-features))' fails. Ludovic Courtès2015-11-211-0/+6
* tests: Use the canonical current directory name.•••* tests/guix-environment-container.sh (current_dir): New variable. Use it when grepping "mounts". Ludovic Courtès2015-11-041-1/+2
* tests: Print the mounts visible in the container.•••* tests/guix-environment-container.sh: Print the content of $tmpdir/mounts. Ludovic Courtès2015-10-281-0/+1
* scripts: environment: Add --container option.•••* guix/scripts/system.scm (specification->file-system-mapping): Move from here... * guix/ui.scm (specification->file-system-mapping): ... to here. * guix/scripts/enviroment.scm (show-help): Show help for new options. (%options): Add --container --network, --expose, and --share options. (%network-configuration-files): New variable. (launch-environment, launch-environment/container, requisites*, inputs->requisites): New procedures. (guix-environment): Spawn new process in a container when requested. * doc/guix.texi (Invoking guix environment): Document it. * tests/guix-environment-container.sh: New file. * Makefile.am (SH_TESTS): Add it. David Thompson2015-10-251-0/+75