diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-04-12 14:35:01 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-04-12 21:58:47 +0200 |
commit | c7b62db614a40c7d7dc93b7e763e3741325486df (patch) | |
tree | 078791d3394dd65cb5a9219e8c57c4b3a9479e25 /build-aux | |
parent | 6f80c9d8f387f5b881a73cefdbbba91a40d8eec6 (diff) | |
download | guix-c7b62db614a40c7d7dc93b7e763e3741325486df.tar.gz guix-c7b62db614a40c7d7dc93b7e763e3741325486df.zip |
nar: Add support for symlinks.
* guix/nar.scm (write-file): Add case for type `symlink'.
(restore-file): Likewise.
* tests/nar.scm (random-file-size, make-file-tree, delete-file-tree,
with-file-tree, file-tree-equal?, make-random-bytevector,
populate-file): New procedures.
(%test-dir): New variable.
("write-file + restore-file"): Use `%test-dir' and `file-tree-equal?'.
("write-file + restore-file with symlinks"): New test.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions