guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/13: guix system: Test 'extension-graph' and 'shepherd-graph'.


From: guix-commits
Subject: 13/13: guix system: Test 'extension-graph' and 'shepherd-graph'.
Date: Sat, 30 Jan 2021 09:38:31 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit b84152439c298724c36e1282e4feb9ce246b76c3
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Sat Jan 30 15:34:41 2021 +0100

    guix system: Test 'extension-graph' and 'shepherd-graph'.
    
    * tests/guix-system.sh: Test 'guix system extension-graph' and 'guix
    system shepherd-graph'.
---
 tests/guix-system.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/guix-system.sh b/tests/guix-system.sh
index f5ddd1d..24cc259 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]