This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
New proc for config/unix.exp
- To: sid at sources dot redhat dot com
- Subject: New proc for config/unix.exp
- From: Ben Elliston <bje at redhat dot com>
- Date: Wed, 20 Jun 2001 10:32:01 +1000 (EST)
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