bind9/bin/tests
Michał Kępień ebedeffa25 Correctly invoke stop.pl when start.pl fails
MR !1141 broke the way stop.pl is invoked when start.pl fails:

  - start.pl changes the working directory to $testdir/$server before
    attempting to start $server,

  - commit 27ee629e6b causes the $testdir
    variable in stop.pl to be determined using the $SYSTEMTESTTOP
    environment variable, which is set to ".." by all tests.sh scripts,

  - commit e227815af5 makes start.pl pass
    $test (the test's name) rather than $testdir (the path to the test's
    directory) to stop.pl when a given server fails to start.

Thus, when a server is restarted from within a tests.sh script and such
a restart fails, stop.pl attempts to look for the server directory in a
nonexistent location ($testdir/$server/../$test, i.e. $testdir/$test,
instead of $testdir/../$test).  Fix the issue by changing the working
directory before stop.pl is invoked in the scenario described above.

(cherry picked from commit 4afad2a047)
2019-03-19 10:28:59 +01:00
..
bigtest update file headers 2018-03-15 18:38:48 -07:00
optional Update lwres to use stdint types to finish transition to using stdint types 2018-08-22 09:04:02 +02:00
pkcs11 Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
startperf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
system Correctly invoke stop.pl when start.pl fails 2019-03-19 10:28:59 +01:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 15:29:59 -08:00
virtual-time Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
win32 4585. [port] win32: Set CompileAS value. [RT #42474] 2017-04-20 12:42:39 +10:00
.gitignore migrate t_dst signature test to lib/dns/tests/dst_test 2018-03-09 15:46:53 -08:00
cfg_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
fromhex.pl update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
headerdep_test.sh.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
Makefile.in Alter distclean rule to prevent recursing into the same directory twice 2018-04-10 20:04:40 -07:00
makejournal.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00
named.conf update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
wire_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 15:20:57 +02:00