Date: Wed, 11 Jun 2014 14:56:16 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: kyua-discuss@googlegroups.com Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org> Subject: Dealing with potential TEST_METADATA and atf_set duplication Message-ID: <CAGHfRMBFPvro0jCWqmk=%2Bu68_MD5uN29dGyhAgVCLvg9kLStmw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello again Julio! I'm adding testcases that require root and I was wondering: 1. Should I add TEST_METADATA.test_app+= require.user="root" to the Makefile, which puts the necessary lua magic in the Kyuafile? 2. Should I add atf_set "required.user" "root" -- or atf_tc_set_md_var("require.user", "root") -- in the testcase header? 3. Should I add both items? There are test engineers that run testcases without isolation, e.g. /path/to/test_app testcase_name -- should we support this workflow, or not? Thanks! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMBFPvro0jCWqmk=%2Bu68_MD5uN29dGyhAgVCLvg9kLStmw>