summaryrefslogtreecommitdiff
path: root/tests/nar.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-04-12 18:40:22 +0200
committerLudovic Courtès <ludo@gnu.org>2013-04-12 18:40:22 +0200
commit77ffd691bfbb152cde94b60aa8df5135d39727c3 (patch)
tree25db378e6b3005a03a947e7178ebe747a0782e71 /tests/nar.scm
parent9adb6934f434436523e6d736cd1b55950d690b8d (diff)
downloadgnu-guix-77ffd691bfbb152cde94b60aa8df5135d39727c3.tar
gnu-guix-77ffd691bfbb152cde94b60aa8df5135d39727c3.tar.gz
tests: Remove temporary directory created by nar.scm.
* tests/nar.scm ("write-file + restore-file with symlinks"): Add (rm-rf output).
Diffstat (limited to 'tests/nar.scm')
-rw-r--r--tests/nar.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/nar.scm b/tests/nar.scm
index 4321cbda53..9bc5a1962e 100644
--- a/tests/nar.scm
+++ b/tests/nar.scm
@@ -196,7 +196,8 @@
(cut restore-file <> output))
(file-tree-equal? input output))
(lambda ()
- (false-if-exception (delete-file nar)))))))
+ (false-if-exception (delete-file nar))
+ (false-if-exception (rm-rf output)))))))
(lambda ()
(rmdir input)))))