summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/guix-build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/guix-build.sh b/tests/guix-build.sh
index 9e9788bca0..e1ec560641 100644
--- a/tests/guix-build.sh
+++ b/tests/guix-build.sh
@@ -26,9 +26,9 @@ guix build --version
if guix build -e +;
then false; else true; fi
-# Should fail because this is a source-less package.
-if guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S
-then false; else true; fi
+# Source-less packages are accepted; they just return nothing.
+guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S
+test "`guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S`" = ""
# Should pass.
guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' | \