about summary refs log tree commit diff
path: root/src/test.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-06T14·20+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-06T14·20+0000
commit82e3d8fafe0ac08589349094e3ea11022d995959 (patch)
treed085bac2628f3ead46397e8d94c264991ca45232 /src/test.cc
parentf826e432aa442e569faaf3cb04d83bfa28bcf260 (diff)
* Got Fix working again.
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test.cc b/src/test.cc
index 639bd5ccf5ad..3851ef8676fd 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -120,17 +120,17 @@ void runTests()
         ATmake("Foo(123)"));
 
     string builder1fn = absPath("./test-builder-1.sh");
-    Hash builder1h = hashFile(builder1fn);
+    Hash builder1h = hashPath(builder1fn);
 
     string fn1 = nixValues + "/builder-1.sh";
-    Expr e1 = ATmake("File(<str>, ExtFile(<str>, <str>), [])", 
+    Expr e1 = ATmake("Path(<str>, ExtFile(<str>, <str>), [])", 
         fn1.c_str(),
         builder1h.c_str(),
         builder1fn.c_str());
     eval(fNormalise, e1);
 
     string fn2 = nixValues + "/refer.txt";
-    Expr e2 = ATmake("File(<str>, Regular(<str>), [<term>])",
+    Expr e2 = ATmake("Path(<str>, Regular(<str>), [<term>])",
         fn2.c_str(),
         ("I refer to " + fn1).c_str(),
         e1);
@@ -144,14 +144,14 @@ void runTests()
     addToStore("./test-builder-1.sh", builder1fn, builder1h);
 
     FState fs1 = ATmake(
-        "File(<str>, Hash(<str>), [])", 
+        "Path(<str>, Hash(<str>), [])", 
         builder1fn.c_str(),
         ((string) builder1h).c_str());
     realise(fs1);
     realise(fs1);
 
     FState fs2 = ATmake(
-        "File(<str>, Hash(<str>), [])", 
+        "Path(<str>, Hash(<str>), [])", 
         (builder1fn + "_bla").c_str(),
         ((string) builder1h).c_str());
     realise(fs2);