manipulate & modify exited code
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Currently i am running a automated test commands which somehow exits with 1 and i wanted it to modify with 0
exec wait-for --timeout "$WAIT_FOR_TIMEOUT:-10" $WAIT_FOR_HOSTS --
nightwatch
i tried with
#if grep succeeds (code 0) then FAILED was found, fail the tests
if [[ $? = 1 ]]; then
exit 0
fi
And it still didnt work
bash shell-script docker
New contributor
add a comment |Â
up vote
0
down vote
favorite
Currently i am running a automated test commands which somehow exits with 1 and i wanted it to modify with 0
exec wait-for --timeout "$WAIT_FOR_TIMEOUT:-10" $WAIT_FOR_HOSTS --
nightwatch
i tried with
#if grep succeeds (code 0) then FAILED was found, fail the tests
if [[ $? = 1 ]]; then
exit 0
fi
And it still didnt work
bash shell-script docker
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Currently i am running a automated test commands which somehow exits with 1 and i wanted it to modify with 0
exec wait-for --timeout "$WAIT_FOR_TIMEOUT:-10" $WAIT_FOR_HOSTS --
nightwatch
i tried with
#if grep succeeds (code 0) then FAILED was found, fail the tests
if [[ $? = 1 ]]; then
exit 0
fi
And it still didnt work
bash shell-script docker
New contributor
Currently i am running a automated test commands which somehow exits with 1 and i wanted it to modify with 0
exec wait-for --timeout "$WAIT_FOR_TIMEOUT:-10" $WAIT_FOR_HOSTS --
nightwatch
i tried with
#if grep succeeds (code 0) then FAILED was found, fail the tests
if [[ $? = 1 ]]; then
exit 0
fi
And it still didnt work
bash shell-script docker
bash shell-script docker
New contributor
New contributor
New contributor
asked 6 mins ago
ujwal dhakal
1011
1011
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
ujwal dhakal is a new contributor. Be nice, and check out our Code of Conduct.
Â
draft saved
draft discarded
ujwal dhakal is a new contributor. Be nice, and check out our Code of Conduct.
ujwal dhakal is a new contributor. Be nice, and check out our Code of Conduct.
ujwal dhakal is a new contributor. Be nice, and check out our Code of Conduct.
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474949%2fmanipulate-modify-exited-code%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password