123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- guix download --version
- if guix download http://does.not/exist
- then false; else true; fi
- if guix download unknown://some/where;
- then false; else true; fi
- if guix download /does-not-exist
- then false; else true; fi
- guix download "file://$abs_top_srcdir/README"
- guix download "$abs_top_srcdir/README"
- output="t-download-$$"
- trap 'rm -f "$output"' EXIT
- GUIX_DAEMON_SOCKET="/nowhere" guix download -o "$output" \
- "file://$abs_top_srcdir/README"
- cmp "$output" "$abs_top_srcdir/README"
- if guix download "file:///does-not-exist" "file://$abs_top_srcdir/README"
- then false; else true; fi
|