public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug testsuite/26952] FAIL: gdb.base/multi-line-starts-subshell.exp: spawn subshell from multi-line (timeout) Date: Thu, 26 Nov 2020 16:34:33 +0000 [thread overview] Message-ID: <bug-26952-4717-Kkr7RIy3ui@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-26952-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=26952 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Tentative patch: ... diff --git a/gdb/testsuite/gdb.base/multi-line-starts-subshell.exp b/gdb/testsuite/gdb.base /multi-line-starts-subshell.exp index 710c3916c6e..4379abbb4b9 100644 --- a/gdb/testsuite/gdb.base/multi-line-starts-subshell.exp +++ b/gdb/testsuite/gdb.base/multi-line-starts-subshell.exp @@ -27,10 +27,10 @@ set shell_prompt_re [string_to_regexp $shell_prompt] # Point HOME nowhere to avoid the shell sourcing the user's init # scripts. -set shell_cmd "HOME=/dev/null PS1=\"$shell_prompt\" /bin/sh" +set shell_cmd "HOME=/dev/null /bin/sh" set test "spawn subshell from multi-line" -gdb_test_multiple "if 1\nshell ${shell_cmd}\nend" $test { +gdb_test_multiple "if 1\nshell ${shell_cmd}\nend\nPS1=\"$shell_prompt\"" $test { -re "$shell_prompt_re$" { pass $test ... -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2020-11-26 16:34 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-26 14:47 [Bug testsuite/26952] New: " vries at gcc dot gnu.org 2020-11-26 16:34 ` vries at gcc dot gnu.org [this message] 2020-12-14 6:56 ` [Bug testsuite/26952] " vries at gcc dot gnu.org 2020-12-15 9:18 ` cvs-commit at gcc dot gnu.org 2020-12-15 9:19 ` vries at gcc dot gnu.org
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=bug-26952-4717-Kkr7RIy3ui@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).