]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix out-of-tree tests
authorTony Finch <fanf@isc.org>
Tue, 13 Sep 2022 10:35:08 +0000 (11:35 +0100)
committerTony Finch <fanf@isc.org>
Wed, 14 Sep 2022 09:02:58 +0000 (10:02 +0100)
The change to `testsock.pl` in commit 258a896a broke the system
tests in out-of-tree builds because `ifconfig.sh.in` is not
copied to the worktree. Use `ifconfig.sh` instead.

bin/tests/system/testsock.pl

index 5073a815fb73eb2f90d8e328e7ea1c052c74e88a..3677e200b260efa69ca41f0a31556504af7be6df 100755 (executable)
@@ -27,7 +27,7 @@ my @ids;
 if ($id != 0) {
        @ids = ($id);
 } else {
-       my $fn = "ifconfig.sh.in";
+       my $fn = "ifconfig.sh";
        open FH, "< $fn" or die "open < $fn: $!\n";
        while (<FH>) {
                @ids = (1..$1)