chiark / gitweb /
server/tests.at: Fix TRIPECTL_INTERACT argument order.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 27 Jun 2011 07:57:21 +0000 (08:57 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 27 Jun 2011 08:53:41 +0000 (09:53 +0100)
commit1171524232347e4c8fbd47409577c5e988ebc6d6
treea693c042af4a50036b948371b321cae9137ded6a
parenta571143bb22f1d32cb70e5b62dd07cab529efea1
server/tests.at: Fix TRIPECTL_INTERACT argument order.

For some reason, the TRIPECTL_INTERACT macro reverses its arguments,
making the first be an argument to `tripectl' and the second be the
script to connect to it.  Only neither call site actually passes the
second argument; instead, both of them pass the script in the first.
Since actually the script begins with a newline, it gets run after
`tripectl' finishes in the same side of the coprocess lash-up.

I have no idea how this has ever worked in the past.  I certainly know
that it doesn't work any more.  So fix it.
server/tests.at