mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
gdb/testsuite/
* lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
This commit is contained in:
@ -580,6 +580,10 @@ proc gdb_test_multiple { command message user_code } {
|
||||
set message $command
|
||||
}
|
||||
|
||||
if [string match "*\[\r\n\]" $command] {
|
||||
error "Invalid trailing newline in \"$message\" test"
|
||||
}
|
||||
|
||||
# TCL/EXPECT WART ALERT
|
||||
# Expect does something very strange when it receives a single braced
|
||||
# argument. It splits it along word separators and performs substitutions.
|
||||
|
Reference in New Issue
Block a user