vty: check for duplicate flags in application specific attributes

This would facilitate detecting duplicates on early development stages.

Change-Id: I4e27d6e89d3f851b5ea4f00da01e7093afa537b2
Related: SYS#4937
diff --git a/tests/vty/vty_test.err b/tests/vty/vty_test.err
index 8ad4fd9..25c94e6 100644
--- a/tests/vty/vty_test.err
+++ b/tests/vty/vty_test.err
@@ -1,3 +1,5 @@
+Found duplicate flag letter 'f' in application specific attributes (index 0 vs 3)! Please fix.
+Found duplicate flag letter 'z' in application specific attributes (index 2 vs 4)! Please fix.
 Got VTY event: 2
 Got VTY event: 2
 Got VTY event: 2