common: move bt_component_class_type_string here, use it more
[babeltrace.git] / tests / cli / test_help
index 3445269bd9ecb1259a21414eb874dc61129c2c48..fb7cb59834adb78bb3e471b7f4071db454f6badc 100755 (executable)
@@ -82,7 +82,7 @@ ok $? "help with unknown plugin name produces no output"
 bt_cli "${stdout}" "${stderr}" help src.ctf.bob
 isnt $? 0 "help with unknown component class name"
 
-grep --silent 'Cannot find component class: plugin-name="ctf", comp-cls-name="bob", comp-cls-type=1' "${stderr}"
+grep --silent 'Cannot find component class: plugin-name="ctf", comp-cls-name="bob", comp-cls-type=SOURCE' "${stderr}"
 ok $? "help with unknown component class name produces expected error"
 
 grep --silent 'Description: CTF input and output' "${stdout}"
This page took 0.022951 seconds and 4 git commands to generate.