summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-05-20 17:18:58 +0200
committerLudovic Courtès <ludo@gnu.org>2016-05-21 01:35:14 +0200
commit30d4bc0434aa5d438c2d433f39c80e1f4a25bcac (patch)
tree40f8d0071ba458cbf1761c2b20240bdb5fda12ac /tests
parenta773c3142dd168e1c4480614d3f5fd9d003954cd (diff)
downloadguix-30d4bc0434aa5d438c2d433f39c80e1f4a25bcac.tar.gz
substitute: Gracefully handle invalid store file names.
Before, something like:

  echo have /gnu/foo | ./test-env guix substitute --query

would lead to an ugly backtrace.

* guix/scripts/substitute.scm (narinfo-cache-file): Call 'leave' when
'store-hash-part' returns #f.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions