From 6f440404c3d2ca096fe52b7853e8fd2786020fd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Thu, 28 Apr 2016 17:27:38 +0200 Subject: [PATCH] tools.deploy.tests: changes name of the test file to local-license.txt so it is more unique --- basis/tools/deploy/deploy-tests.factor | 7 ++++--- basis/tools/deploy/test/19/19.factor | 6 +++--- basis/tools/deploy/test/19/resources.txt | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/basis/tools/deploy/deploy-tests.factor b/basis/tools/deploy/deploy-tests.factor index 213267a69b..f5f1719134 100644 --- a/basis/tools/deploy/deploy-tests.factor +++ b/basis/tools/deploy/deploy-tests.factor @@ -158,9 +158,10 @@ os macosx? [ test-image-path = ] unit-test -{ } [ "resource:LICENSE.txt" "license.txt" temp-file copy-file ] unit-test - -{ } [ "tools.deploy.test.19" shake-and-bake run-temp-image ] unit-test +{ } [ + "resource:LICENSE.txt" "local-license.txt" temp-file copy-file + "tools.deploy.test.19" shake-and-bake run-temp-image +] unit-test { } [ "tools.deploy.test.20" shake-and-bake ] unit-test diff --git a/basis/tools/deploy/test/19/19.factor b/basis/tools/deploy/test/19/19.factor index 3e67b3df88..9b698326c4 100644 --- a/basis/tools/deploy/test/19/19.factor +++ b/basis/tools/deploy/test/19/19.factor @@ -4,8 +4,8 @@ USING: io io.files io.encodings.ascii ; IN: tools.deploy.test.19 : main ( -- ) - ! make sure to test vocab: paths - ! this particular license.txt is a copy in this subdir - "vocab:license.txt" ascii file-contents write ; + ! make sure to test vocab: paths. This file is a copy of Factors + ! LICENSE.txt. + "vocab:local-license.txt" ascii file-contents write ; MAIN: main diff --git a/basis/tools/deploy/test/19/resources.txt b/basis/tools/deploy/test/19/resources.txt index 8f961ef997..3091a45886 100644 --- a/basis/tools/deploy/test/19/resources.txt +++ b/basis/tools/deploy/test/19/resources.txt @@ -1 +1 @@ -license.txt +local-license.txt