diff --git a/src/iosacl/iosacl.cpp b/src/iosacl/iosacl.cpp index 78316efc6..4e7f47907 100644 --- a/src/iosacl/iosacl.cpp +++ b/src/iosacl/iosacl.cpp @@ -153,7 +153,9 @@ int main(int argc, char * const * argv) ofname = string(optarg); break; case 'x': - if (*optarg=='p') { + if (*optarg=='t') { + test_mode = true; + } else if (*optarg=='p') { ++optarg; drp = atoi(optarg); } else { @@ -169,9 +171,6 @@ int main(int argc, char * const * argv) } } break; - case 't': - test_mode++; - break; case 'v': verbose++; break; diff --git a/test/iosacl/run.all b/test/iosacl/run.all index 6a13f36ed..1624d109e 100755 --- a/test/iosacl/run.all +++ b/test/iosacl/run.all @@ -9,7 +9,7 @@ while (<>) { $str=~ /]+name="([^"]*).*$"/; $fw=$1; printf "echo ====================== $fw =========================================\n"; - printf "fwb_iosacl -v -f $XMLFILE $fw\n"; + printf "fwb_iosacl -xt -v -f $XMLFILE $fw\n"; $str=~ s/^.*]+name="$fw"[^>]+>//; } } diff --git a/test/pf/objects-for-regression-tests.fwb b/test/pf/objects-for-regression-tests.fwb index 1ba9c0de1..16f45ce45 100644 --- a/test/pf/objects-for-regression-tests.fwb +++ b/test/pf/objects-for-regression-tests.fwb @@ -1,6 +1,6 @@ - + @@ -95,14 +95,9 @@ - - - - - @@ -629,7 +624,7 @@ - + @@ -715,7 +710,7 @@ - + @@ -1186,7 +1181,7 @@ - + @@ -1323,7 +1318,7 @@ - + @@ -1643,7 +1638,7 @@ - + @@ -2030,7 +2025,7 @@ - + @@ -2170,7 +2165,7 @@ - + @@ -2236,7 +2231,7 @@ - + @@ -2295,7 +2290,7 @@ - + @@ -2375,7 +2370,7 @@ - + @@ -3022,7 +3017,7 @@ - + @@ -3328,7 +3323,7 @@ - + @@ -3477,7 +3472,7 @@ - + @@ -3567,7 +3562,7 @@ - + @@ -3750,7 +3745,7 @@ - + @@ -3885,7 +3880,7 @@ - + @@ -3908,7 +3903,7 @@ - + @@ -3980,7 +3975,7 @@ - + @@ -4066,8 +4061,8 @@ - - + + @@ -4106,7 +4101,7 @@ - + @@ -4193,8 +4188,8 @@ - - + + @@ -4234,7 +4229,7 @@ - + @@ -4321,7 +4316,7 @@ - + @@ -4512,7 +4507,7 @@ - + @@ -4628,7 +4623,7 @@ - + @@ -4683,7 +4678,7 @@ - + @@ -4727,7 +4722,7 @@ - + @@ -4823,7 +4818,7 @@ - + @@ -4905,7 +4900,7 @@ - + @@ -4993,7 +4988,7 @@ - + @@ -5220,7 +5215,7 @@ - + @@ -5319,7 +5314,7 @@ - + @@ -5468,7 +5463,7 @@ - + @@ -5722,7 +5717,7 @@ - + @@ -5821,7 +5816,7 @@ - + @@ -5865,7 +5860,7 @@ - + @@ -6105,7 +6100,7 @@ - + @@ -6236,7 +6231,7 @@ - + @@ -6384,7 +6379,7 @@ - + @@ -6431,7 +6426,7 @@ - + @@ -6556,7 +6551,7 @@ - + @@ -6600,7 +6595,7 @@ - + @@ -6830,7 +6825,7 @@ - + @@ -6870,7 +6865,7 @@ - + @@ -6929,8 +6924,8 @@ - - + + @@ -7061,7 +7056,7 @@ - + @@ -7105,7 +7100,7 @@ - + @@ -7280,7 +7275,7 @@ - + @@ -7404,8 +7399,8 @@ - - + + @@ -7461,7 +7456,7 @@ - + @@ -7519,7 +7514,7 @@ - + @@ -7563,7 +7558,7 @@ - + @@ -7676,7 +7671,7 @@ - + @@ -7811,7 +7806,7 @@ - + @@ -7855,7 +7850,7 @@ - + @@ -7968,7 +7963,7 @@ - + @@ -8103,7 +8098,7 @@ - + @@ -8147,7 +8142,7 @@ - + @@ -8260,7 +8255,7 @@ - + @@ -8395,7 +8390,7 @@ - + @@ -8439,7 +8434,7 @@ - + @@ -8552,7 +8547,7 @@ - + @@ -8687,7 +8682,7 @@ - + @@ -8731,7 +8726,7 @@ - + @@ -8879,7 +8874,7 @@ - + @@ -9014,7 +9009,7 @@ - + @@ -9058,7 +9053,7 @@ - + @@ -9171,7 +9166,7 @@ - + @@ -9306,7 +9301,7 @@ - + @@ -9350,7 +9345,7 @@ - + @@ -10060,7 +10055,7 @@ - + @@ -10183,10 +10178,10 @@ - - - - + + + + @@ -10428,7 +10423,7 @@ - + @@ -10578,9 +10573,9 @@ - - - + + + @@ -10623,7 +10618,7 @@ - + @@ -10666,7 +10661,7 @@ - + @@ -10710,7 +10705,7 @@ - + @@ -10753,7 +10748,7 @@ - + @@ -10830,8 +10825,8 @@ - - + + @@ -11035,7 +11030,7 @@ - + @@ -11058,7 +11053,7 @@ - + @@ -11162,8 +11157,8 @@ - - + + @@ -11450,7 +11445,7 @@ - + @@ -11545,7 +11540,7 @@ - + @@ -11568,7 +11563,7 @@ - + @@ -11683,7 +11678,7 @@ - + @@ -11874,7 +11869,7 @@ - + @@ -11920,7 +11915,7 @@ - + @@ -12105,7 +12100,7 @@ - + @@ -12152,7 +12147,7 @@ - + @@ -12283,7 +12278,7 @@ - + @@ -12306,7 +12301,7 @@ - + @@ -12444,7 +12439,7 @@ - + @@ -12581,8 +12576,8 @@ - - + + @@ -12702,7 +12697,7 @@ - + @@ -12749,7 +12744,7 @@ - + @@ -12877,8 +12872,8 @@ - - + + @@ -12998,7 +12993,7 @@ - + @@ -13045,7 +13040,7 @@ - + diff --git a/test/pf/run.all b/test/pf/run.all index 9c372c813..b82ee0e91 100755 --- a/test/pf/run.all +++ b/test/pf/run.all @@ -10,7 +10,7 @@ while (<>) { $fw=$1; printf "\n"; printf "echo '********* $fw'\n"; - printf "fwb_pf -v -f $XMLFILE $fw\n"; + printf "fwb_pf -xt -v -f $XMLFILE $fw\n"; $str=~ s/^.*]+name="$fw"[^>]+>//; } }