tests: Add [+-]feature and feature=on|off test cases
commit17e8f541263fd771aef58e9818a2060b81904c3f
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 8 May 2017 18:32:05 +0000 (8 15:32 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 17 May 2017 13:37:15 +0000 (17 10:37 -0300)
treebd0f8efe3507c201b84378d964c4ad34e227f155
parent8ae5059df5424def4a149fdc81e944ec5730fddf
tests: Add [+-]feature and feature=on|off test cases

Add test code to ensure features are enabled/disabled correctly in the
command-line. The test case use the "feature-words" and
"filtered-features" properties to check if the features were
enabled/disabled correctly.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170508183205.10884-1-ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/test-x86-cpuid-compat.c