Skip to content
Snippets Groups Projects
Commit b256aac2 authored by Roman Inflianskas's avatar Roman Inflianskas Committed by Bruno Pinto
Browse files

[dpaste] Allow test run with any working directory

parent b1b7b0a0
No related merge requests found
#!/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 set -g __dpaste_expires_choises
source ../dpaste.fish source $script_dir/../dpaste.fish
__dpaste_set_defaults __dpaste_set_defaults
end end
...@@ -21,6 +23,6 @@ function suite_dpaste ...@@ -21,6 +23,6 @@ function suite_dpaste
end end
if not set -q tank_running if not set -q tank_running
source (dirname (status -f))/helper.fish source $script_dir/helper.fish
tank_run tank_run
end end
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment