This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

New proc for config/unix.exp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]