Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
flexpart
flexpart
Commits
da6ad3f5
Commit
da6ad3f5
authored
Mar 18, 2016
by
Ignacio Pisso
Browse files
test existence of options dir in test 0 before copy to avoid error message
parent
988b0bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/create_test
View file @
da6ad3f5
...
...
@@ -21,7 +21,7 @@ mkdir $test_tmp
#copy default optios
cp
-r
$options_default
$test_tmp
/options
#override default options
if
[
"
$(
ls
-A
${
test_dir
}
/options
)
"
]
;
then
if
[
-d
"
$test_dir
"
&&
"
$(
ls
-A
${
test_dir
}
/options
)
"
]
;
then
cp
-r
${
test_dir
}
/options/
*
$test_tmp
/options/
fi
# copy paths form repo source exec tmp dir
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment