Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
fd9ae17d
Commit
fd9ae17d
authored
Nov 21, 2018
by
Ivan Pozdeev
Committed by
Matthew Brett
Dec 14, 2019
Browse files
clean up comment
parent
98e0da58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_common_utils.sh
tests/test_common_utils.sh
+1
-1
No files found.
tests/test_common_utils.sh
View file @
fd9ae17d
...
@@ -64,7 +64,7 @@ function good_cmd {
...
@@ -64,7 +64,7 @@ function good_cmd {
}
}
# Store state of options including -e, -x
# Store state of options including -e, -x
# https://stackoverflow.com/questions/14564746/in-bash-how-to-get-the-current-status-of-set-x
?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
# https://stackoverflow.com/questions/14564746/in-bash-how-to-get-the-current-status-of-set-x
ORIG_OPTS
=
$-
ORIG_OPTS
=
$-
set
+ex
set
+ex
[
"
$(
suppress bad_cmd
)
"
==
"
$(
printf
"Running bad_cmd
\n
bad"
)
"
]
\
[
"
$(
suppress bad_cmd
)
"
==
"
$(
printf
"Running bad_cmd
\n
bad"
)
"
]
\
...
...
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