From e957365d75870547abb92b6748482a349b4df5e9 Mon Sep 17 00:00:00 2001 From: Roman Inflianskas Date: Sat, 16 Aug 2014 00:31:46 +0400 Subject: [PATCH] [dpaste] Another try to fix tests running on OS X --- plugins/dpaste/tests/test_dpaste.fish | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/dpaste/tests/test_dpaste.fish b/plugins/dpaste/tests/test_dpaste.fish index c4f17cf..1bd9fba 100755 --- a/plugins/dpaste/tests/test_dpaste.fish +++ b/plugins/dpaste/tests/test_dpaste.fish @@ -1,11 +1,7 @@ #!/usr/bin/env fish -set -l script_dir (dirname (status -f)) - function suite_dpaste function setup - set -g __dpaste_expires_choises - source $script_dir/../dpaste.fish __dpaste_set_defaults end @@ -23,6 +19,8 @@ function suite_dpaste end if not set -q tank_running - source $script_dir/helper.fish + source (dirname (status -f))/helper.fish + set -g __dpaste_expires_choises + source (dirname (status -f))/../dpaste.fish tank_run end