[dpaste] Another try to fix tests running on OS X

This commit is contained in:
Roman Inflianskas 2014-08-16 00:31:46 +04:00 committed by Bruno Pinto
parent b256aac2e1
commit e957365d75

View File

@ -1,11 +1,7 @@
#!/usr/bin/env fish #!/usr/bin/env fish
set -l script_dir (dirname (status -f))
function suite_dpaste function suite_dpaste
function setup function setup
set -g __dpaste_expires_choises
source $script_dir/../dpaste.fish
__dpaste_set_defaults __dpaste_set_defaults
end end
@ -23,6 +19,8 @@ function suite_dpaste
end end
if not set -q tank_running 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 tank_run
end end