tests: Add `guix hash' test.
authorLudovic Courtès <ludo@gnu.org>
Sat, 11 May 2013 13:09:56 +0000 (15:09 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 11 May 2013 13:09:56 +0000 (15:09 +0200)
commitccbce84809db80e6d9bc42e96f9edb2071152b56
tree6736eb07bd6377e4243c37de27f7b6cf981507ad
parent438bb042ff31619f43960113e7cd9e1b2818ff1c
tests: Add `guix hash' test.

* guix/scripts/hash.scm (guix-hash)[eof->null]: New procedure.
  Use it to convert the EOF object to the empty bytevector.
* tests/guix-hash.sh: New file.
* Makefile.am (SH_TESTS): Add it.
Makefile.am
guix/scripts/hash.scm
tests/guix-hash.sh [new file with mode: 0644]