PennMUSH Community

Ticket #7193 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Bug in test framework

Reported by: anonymous Assigned to: devteam
Priority: minor Milestone: 1.8.2p4
Keywords: Cc:
Visibility: Public

Description

The test framework uses exec() to start a netmush to do the tests in,
but gives a path without a directory component. Perl's documentation is
vague on the matter, but if it's anything like C's exec(), this should
only work if $PATH contains the testgame directory or, rather more
likely, "."; this is the case for me.

The patch exec()s "./netmush" instead of plain "netmush", which should
solve the problem for anyone who suffers from it.

Attachments

test-fix.patch.txt (0.8 kB) - added by Nathan Baum on 02/03/07 18:54:09.

Change History

02/03/07 18:54:09 changed by Nathan Baum

  • attachment test-fix.patch.txt added.

02/03/07 18:54:09 changed by Nathan Baum

  • id set to 7193.

This message has 1 attachment(s)

04/24/07 16:10:12 changed by raevnos

  • status changed from new to closed.
  • type changed from incoming to bug.
  • resolution set to fixed.
  • milestone set to 1.8.2p4.