summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-01-17 11:32:51 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-01-19 17:16:56 +0100
commite74baa124592428f05b17562f180469e405037f3 (patch)
tree71f1ea28df039f5d1bee63d8c70bea2b7683012c /tests
parent868c4dec0f8b4fd6099bcc95b7af1225c0de58aa (diff)
downloadguix-patches-e74baa124592428f05b17562f180469e405037f3.tar
guix-patches-e74baa124592428f05b17562f180469e405037f3.tar.gz
system: Rename 'disk-image' command 'image'.
* guix/scripts/system.scm (system-derivation-for-action): Rename 'disk-image' command 'image'. Warn when using the now deprecated 'disk-image' command. (show-help): Adapt accordingly. (guix-system): Ditto. * tests/guix-system.sh: Ditto. * gnu/system/examples/bare-hurd.tmpl: Ditto. * doc/guix.texi (Building the Installation Image, Building the Installation Image for ARM Boards, Invoking guix pack, Invoking guix system): Adapt documentation.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-system.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index e7e4c17e39..f5ddd1dda3 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -262,8 +262,8 @@ guix system vm "$tmpfile" -d | grep '\.drv$'
drv1="`guix system vm "$tmpfile" -d`"
drv2="`guix system vm "$tmpfile" -d`"
test "$drv1" = "$drv2"
-drv1="`guix system disk-image -t iso9660 "$tmpfile" -d`"
-drv2="`guix system disk-image -t iso9660 "$tmpfile" -d`"
+drv1="`guix system image -t iso9660 "$tmpfile" -d`"
+drv2="`guix system image -t iso9660 "$tmpfile" -d`"
test "$drv1" = "$drv2"
make_user_config "group-that-does-not-exist" "users"