summary refs log tree commit diff
path: root/tests/guix-system.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-01-30 15:34:41 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-30 15:36:58 +0100
commitb84152439c298724c36e1282e4feb9ce246b76c3 (patch)
treea08daa1de05de548d0148a435db073b18b1114a5 /tests/guix-system.sh
parent95f72dcd7aece05e9252c93bef5a831f96cb5393 (diff)
downloadguix-b84152439c298724c36e1282e4feb9ce246b76c3.tar.gz
guix system: Test 'extension-graph' and 'shepherd-graph'.
* tests/guix-system.sh: Test 'guix system extension-graph' and 'guix
system shepherd-graph'.
Diffstat (limited to 'tests/guix-system.sh')
-rw-r--r--tests/guix-system.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index f5ddd1dda3..24cc2591d5 100644
--- a/tests/guix-system.sh
+++ b/tests/guix-system.sh
@@ -266,6 +266,10 @@ drv1="`guix system image -t iso9660 "$tmpfile" -d`"
 drv2="`guix system image -t iso9660 "$tmpfile" -d`"
 test "$drv1" = "$drv2"
 
+# Check whether the graph commands work as expected.
+guix system extension-graph "$tmpfile" | grep 'label = "file-systems"'
+guix system shepherd-graph "$tmpfile" | grep 'label = "guix-daemon"'
+
 make_user_config "group-that-does-not-exist" "users"
 if guix system build "$tmpfile" -n 2> "$errorfile"
 then false