Joe Simmons-Talbott 868506eb42 system: Add "--" after "-c" for sh (BZ #28519)
Prevent sh from interpreting a user string as shell options if it
starts with '-' or '+'.  Since the version of /bin/sh used for testing
system() is different from the full-fledged system /bin/sh add support
to it for handling "--" after "-c".  Add a testcase to ensure the
expected behavior.

Signed-off-by: Joe Simmons-Talbott <josimmon@redhat.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2023-03-28 10:12:30 -03:00
..
2023-02-17 15:56:50 -03:00
2023-03-14 16:58:35 +00:00
2023-03-08 08:49:54 -03:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2023-02-16 23:02:40 +00:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2023-02-16 23:02:40 +00:00