aboutsummaryrefslogtreecommitdiff
path: root/src/test.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-06-23 14:40:49 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-06-23 14:40:49 +0000
commit692b562342ac7ead43ef06497f6a8b4b6e724ae5 (patch)
tree4cd87673fff6af4c6c5501b274bfc1023246aaba /src/test.cc
parentc0cbaef4bece0c2447828739dd9622c329948064 (diff)
* `nix --delete' command.
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test.cc b/src/test.cc
index c8e3292e3..268b35d89 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -68,7 +68,7 @@ void runTests()
#endif
/* Restoring. */
-#if 1
+#if 0
MySource source;
restorePath("outdir", source);
cout << (string) hashPath("outdir") << endl;
@@ -116,6 +116,8 @@ void runTests()
Expr e3 = ATmake("Deref(Hash(<str>))", ((string) h3).c_str());
evalTest(e3);
+
+ deleteValue(h3);
}