summaryrefslogtreecommitdiff
path: root/tests/guix-package-net.sh
Commit message (Expand)AuthorAgeFilesLines
* guix package: '--upgrade' preserves package order.•••Fixes <https://bugs.gnu.org/31142>. Reported by Chris Marusich <cmmarusich@gmail.com>. * guix/scripts/package.scm (options->installable)[upgraded]: Use 'fold' instead of 'fold-right'. This reverts eca16a3d1d9e6b2c064e0105c1015258bf2755f2. * tests/guix-package-net.sh: Add 'guix package u' test. Ludovic Courtès2019-01-151-1/+32
* tests: Remove 't-profile-alt-*-link' files.•••Reported by myglc2 <myglc2@gmail.com> at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27137#11>. * tests/guix-package-net.sh: In the trap, remove $profile_alt-[0-9]*. Ludovic Courtès2017-06-021-1/+1
* guix package: Honor the order of profiles when -p appears multiple times.•••* guix/scripts/package.scm (process-query): Reverse the order of PROFILES. * tests/guix-package-net.sh: Test it with '--search-paths'. Ludovic Courtès2017-01-231-2/+2
* guix package: '--search-paths' can report combined search paths.•••Partly fixes <http://bugs.gnu.org/20255>. * guix/scripts/package.scm (search-path-environment-variables): Change 'profile' to 'profiles'; expect it to be a list. (display-search-paths): Likewise. (%default-options): Remove 'profile' entry. (%options) <--profile>: Keep previous values associated with 'profile' in RESULT. (guix-package)[process-actions, process-query]: Handle the possible lack of 'profile' pair in OPTS. Ludovic Courtès2015-11-111-1/+11
* guix package: Add optional argument to --search-paths.•••* guix/scripts/package.scm (search-path-environment-variables): Add #:kind parameter. Pass it to 'environment-variable-definition'. (display-search-paths): Add #:kind parameter and pass it to 'search-path-environment-variables'. (%options): Add an optional parameter for "--search-paths". (guix-package)[process-query]: Handle it. * tests/guix-package-net.sh: Adjust existing test. * tests/guix-package.sh: Adjust existing tests and add new test. * doc/guix.texi (Invoking guix package): Document it. Ludovic Courtès2015-05-201-1/+1
* tests: Skip 'guix-package-net.sh' when prerequisites aren't met.•••* tests/guix-package-net.sh: Reinstate networking and shebang test that inadvertently vanished in commit 57b8623. Ludovic Courtès2015-04-081-0/+8
* tests: Move 'guix package' tests that require networking to a separate file.•••* tests/guix-package.sh (shebang_not_too_long): Remove. Move everything below "if [networking + shebang_not_too_long]" to... * tests/guix-package-net.sh: ... here. New file. * Makefile.am (SH_TESTS): Add it. Ludovic Courtès2015-04-061-0/+170