From owner-freebsd-hackers@freebsd.org Tue Jul 11 17:39:05 2017 Return-Path: Delivered-To: freebsd-hackers@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 E4919DA7E5F; Tue, 11 Jul 2017 17:39:05 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from forward12m.cmail.yandex.net (forward12m.cmail.yandex.net [IPv6:2a02:6b8:b030::99]) (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 A1DBE7EEA0; Tue, 11 Jul 2017 17:39:05 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [77.88.29.84]) by forward12m.cmail.yandex.net (Yandex) with ESMTP id 54C8121BC9; Tue, 11 Jul 2017 20:38:53 +0300 (MSK) Received: from smtp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1p.mail.yandex.net (Yandex) with ESMTP id 0959A1780965; Tue, 11 Jul 2017 20:38:51 +0300 (MSK) Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id p50qcDTnEt-comqbXuF; Tue, 11 Jul 2017 20:38:50 +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=1499794730; bh=175rnZwAKAYSdJrABSYxJQylFAxB+hgoRgx5P061eMU=; h=From:Subject:To:Cc:Message-ID:Date; b=cdGCCKLPRnFH0I7lCXdWlge0WUHwR2lS1AlMAaNCI0TOZKgLxLmlG2Hs7rblPcm6w ftAbB7ak/4TPbjpjcVvPcT9TVabNKFoepxvRwpK2p0kW85daYEQ67My6ZJuKu609Bm iS2N8oQtTi+qBTjgJMKB6RjKa4PPIeT4b+eYkfpY= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 1022867361,1 0,1 0,1 0 From: Panagiotes Mousikides Subject: Run binary from test suite To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Cc: Kristof Provost Message-ID: <5a7ed4ea-de4c-4f6a-e528-9e3c70722d0c@yandex.com> Date: Tue, 11 Jul 2017 17:38: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-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 17:39:06 -0000 (Resending due to moderation.) 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