diff options
| -rw-r--r-- | tests/guix-build.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/guix-build.sh b/tests/guix-build.sh index 52feda9d3aa..62cdd5fe14b 100644 --- a/tests/guix-build.sh +++ b/tests/guix-build.sh | |||
| @@ -36,6 +36,12 @@ guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' | \ | |||
| 36 | guix build hello -d | \ | 36 | guix build hello -d | \ |
| 37 | grep -e '-hello-[0-9\.]\+\.drv$' | 37 | grep -e '-hello-[0-9\.]\+\.drv$' |
| 38 | 38 | ||
| 39 | # Passing a .drv. | ||
| 40 | drv="`guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' -d`" | ||
| 41 | out="`guix build "$drv"`" | ||
| 42 | out2="`guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)'`" | ||
| 43 | test "$out" = "$out2" | ||
| 44 | |||
| 39 | # Passing a URI. | 45 | # Passing a URI. |
| 40 | GUIX_DAEMON_SOCKET="file://$GUIX_STATE_DIRECTORY/daemon-socket/socket" \ | 46 | GUIX_DAEMON_SOCKET="file://$GUIX_STATE_DIRECTORY/daemon-socket/socket" \ |
| 41 | guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' | 47 | guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' |
