mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
d0b2dbfa0e
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
28 lines
417 B
Bash
Executable File
28 lines
417 B
Bash
Executable File
|
|
atf_test_case "space" cleanup
|
|
space_head()
|
|
{
|
|
atf_set descr "Test macros with spaces"
|
|
}
|
|
|
|
space_body()
|
|
{
|
|
echo \"this is\" = \"a variable\" > pf.conf
|
|
cat pf.conf
|
|
atf_check -o ignore -e ignore -s exit:1 pfctl -nvf pf.conf
|
|
|
|
echo this = \"a variable\" > pf.conf
|
|
cat pf.conf
|
|
atf_check -o ignore -s exit:0 pfctl -nvf pf.conf
|
|
}
|
|
|
|
space_cleanup()
|
|
{
|
|
rm -f pf.conf
|
|
}
|
|
|
|
atf_init_test_cases()
|
|
{
|
|
atf_add_test_case "space"
|
|
}
|