From owner-freebsd-current@freebsd.org Tue Jul 11 17:13:58 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6915DA7176; Tue, 11 Jul 2017 17:13:58 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from forward11p.cmail.yandex.net (forward11p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::bb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1E977DF5E; Tue, 11 Jul 2017 17:13:58 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [IPv6:2a02:6b8:0:801::ab]) by forward11p.cmail.yandex.net (Yandex) with ESMTP id ED222213C4; Tue, 11 Jul 2017 20:13:54 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id E21A33C8109F; Tue, 11 Jul 2017 20:13:51 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4ojvg8lGAh-DpB0P1Qj; Tue, 11 Jul 2017 20:13:51 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1499793231; bh=oDg7eKXtRtHk199Bx/VgMGQVIk9JCwNMHclx0xvKypQ=; h=To:From:Subject:Cc:Message-ID:Date; b=aA6SixtvBhIfsCocjlXKhB4EIYaEU8kcBiB5tBlgXWFiXLcxk8Gff8G8XdwKf8uAb Uvw/gkzV5D8AxKAZg6IIRFl2E9nXE86xlLR8oH5RCYxXzlxqzp93+YoNcVyhu69aqy icHGZYclJC85bJMnjunQ8a0kj/OI5Jf0aHL7v2Ek= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 1022867361,1 0,1 0,1 0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org From: Panagiotes Mousikides Subject: Run binary from test suite Cc: Kristof Provost Message-ID: Date: Tue, 11 Jul 2017 17:13:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Mailman-Approved-At: Tue, 11 Jul 2017 17:49:09 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 17:13:59 -0000 Hello! I'm a Google Summer of Code student, writing some tests for the FreeBSD test suite, and putting them under src/tests. I need to run some binaries, specifically pfctl. How should I call pfctl from my test scripts? Should I call it directly and let the shell find the binary in the path? Or should I find where the build version got created (somewhere under /usr/obj) and call that? How do I find where the binary ended up getting created in that case? Best regards, Panagiotes