From 7312f3dc669c79b568f0c40934f95257cd8d0bf1 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Wed, 5 Aug 2015 14:04:49 -0700 Subject: [PATCH] tools.deploy: fix tests for windows. --- basis/tools/deploy/deploy-tests.factor | 4 ++-- basis/tools/deploy/embed/embed.factor | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/basis/tools/deploy/deploy-tests.factor b/basis/tools/deploy/deploy-tests.factor index a103c4d33e..541e3a8f1e 100644 --- a/basis/tools/deploy/deploy-tests.factor +++ b/basis/tools/deploy/deploy-tests.factor @@ -18,11 +18,11 @@ delete-staging-images { } [ "hello-world" shake-and-bake 550000 small-enough? ] unit-test -{ "Hello world\n" } [ +{ { "Hello world" } } [ f open-directory-after-deploy? [ "hello-world" deploy "hello-world" deploy-path 1array - ascii [ contents ] with-process-reader + ascii [ lines ] with-process-reader ] with-variable ] unit-test diff --git a/basis/tools/deploy/embed/embed.factor b/basis/tools/deploy/embed/embed.factor index da3c1dca94..9855f7c733 100644 --- a/basis/tools/deploy/embed/embed.factor +++ b/basis/tools/deploy/embed/embed.factor @@ -1,7 +1,8 @@ -! (c)2010 Joe Groff bsd license -USING: alien.c-types alien.data bootstrap.image -bootstrap.image.private destructors io io.directories -io.encodings.binary io.files locals system kernel ; +! Copyright (C) 2010 Joe Groff +! See http://factorcode.org/license.txt for BSD license. +USING: alien.c-types alien.data bootstrap.image.private +destructors io io.directories io.encodings.binary io.files +kernel locals system ; IN: tools.deploy.embed :: embed-image ( image executable -- )