Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
95ae3c19
Commit
95ae3c19
authored
Jun 09, 2021
by
LDOUBLEV
Browse files
rename save_log in func status_check
parent
9372741a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/test.sh
test/test.sh
+3
-3
No files found.
test/test.sh
View file @
95ae3c19
...
...
@@ -73,11 +73,11 @@ function status_check(){
last_status
=
$1
# the exit code
run_model
=
$2
run_command
=
$3
save
_log
=
$4
run
_log
=
$4
if
[
$last_status
-eq
0
]
;
then
echo
-e
"
\0
33[33m
$run_model
successfully with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
save
_log
}
echo
-e
"
\0
33[33m
$run_model
successfully with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
run
_log
}
else
echo
-e
"
\0
33[33m
$case
failed with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
save
_log
}
echo
-e
"
\0
33[33m
$case
failed with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
run
_log
}
fi
}
...
...
Write
Preview
Markdown
is supported
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