me
/
guix
Archived
1
0
Fork 0

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

* tests/guix-system.sh: Test 'guix system extension-graph' and 'guix
system shepherd-graph'.
master
Ludovic Courtès 2021-01-30 15:34:41 +01:00
parent 95f72dcd7a
commit b84152439c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 0 deletions

View File

@ -266,6 +266,10 @@ drv1="`guix system image -t iso9660 "$tmpfile" -d`"
drv2="`guix system image -t iso9660 "$tmpfile" -d`" drv2="`guix system image -t iso9660 "$tmpfile" -d`"
test "$drv1" = "$drv2" 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" make_user_config "group-that-does-not-exist" "users"
if guix system build "$tmpfile" -n 2> "$errorfile" if guix system build "$tmpfile" -n 2> "$errorfile"
then false then false