mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 22:19:55 +08:00
6599da043e
From-SVN: r14877
16 lines
538 B
Plaintext
16 lines
538 B
Plaintext
# lessons:
|
|
# 1) ALL expected args to a cmd on one line!
|
|
# 2) `*' at end of string match pattern essential---match *complete* string!
|
|
# 3) $srcdir (at least when .) expanded in dir where runtest invoked---
|
|
# NOT dir where test lives!
|
|
# 4) stderr already folded into stdout; no need for 2>&1 or such things
|
|
|
|
catch "exec $MAKEINFO $srcdir/text/not.texi" maki_out
|
|
verbose "Makeinfo output: $maki_out" 1
|
|
|
|
if [string match "No*setfilename*found*in*" "$maki_out"] then {
|
|
pass "@setfilename required"
|
|
} else {
|
|
fail "@setfilename required"
|
|
}
|