public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* New proc for config/unix.exp
@ 2001-06-19 17:32 Ben Elliston
  0 siblings, 0 replies; only message in thread
From: Ben Elliston @ 2001-06-19 17:32 UTC (permalink / raw)
  To: sid

I would like to propose a new proc for the test harness to relieve the
tedium of a common idiom:

  # assert that a bus transaction was "ok"
  proc sid_assert_bus_ok {result} {
       return ![string compare [lindex $result 0] ok]
  }

I assume no one has any objections in principle?

Ben

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-19 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-19 17:32 New proc for config/unix.exp Ben Elliston

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).