From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Question regarding background jobs in LTP
Date: Mon, 4 Mar 2019 14:36:09 +0100 [thread overview]
Message-ID: <20190304133609.GB27682@rei.lan> (raw)
In-Reply-To: <0AAF7904-0F33-4D6C-949E-4733722BE46B@linux.vnet.ibm.com>
Hi!
> We've tried "#/bin/sh -x" didn't changed the output
> it hangs on the same command:
>
> mon_fsstatd 1 TPASS: 'mon_procd --version' returned '0'
> mon_fsstatd 1 TPASS: 'mon_procd -i 30' returned '0'
> mon_fsstatd 1 TBROK: test killed, timeout!
> the command which lead to the hang - is the same:
>
> mon_fsstatd_run 0 "mon_procd -a &???
Now I see the problem, you cannot pass a string to a function, execute
the variable holding the string, and expect bash to parse special
characters in the string, as it is the & is passed as a parameter to the
mon_procd instead because the string is not broken down.
--
Cyril Hrubis
chrubis@suse.cz
prev parent reply other threads:[~2019-03-04 13:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 14:42 [LTP] Question regarding background jobs in LTP Elif Aslan
2019-03-01 11:49 ` Cyril Hrubis
2019-03-04 9:33 ` Elif Aslan
2019-03-04 13:36 ` Cyril Hrubis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190304133609.GB27682@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox