]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "io.directories: Don't use ``touch`` because it's not default on Windows."
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 11 Apr 2020 17:39:22 +0000 (12:39 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 11 Apr 2020 17:39:22 +0000 (12:39 -0500)
This reverts commit 4a6bd579775023d01ddf978d8a2c016d24b9686e.

We don't test anything without try-process.

basis/io/directories/directories-tests.factor

index 8235def1d25b2ddd29eb3553ae4a3091f4e70e1f..8067b9f486017d6068107cf5212334c1abc889ee 100644 (file)
@@ -161,7 +161,7 @@ io.launcher io.pathnames kernel sequences tools.test ;
     ! Issue #890
     { } [
         "foo" [ make-directories ] keep
-        [ "bar" touch-file ] with-directory
+        [ "touch bar" try-output-process ] with-directory
     ] unit-test
 
     { t } [