| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # Test that transitional symbols cannot have properties other than help |
| 3 | |
| 4 | config BAD_DEFAULT |
| 5 | bool |
| 6 | transitional |
| 7 | default y |
| 8 | help |
| 9 | This transitional symbol illegally has a default property. |
| 10 | |
| 11 | config BAD_PROMPT |
| 12 | bool |
| 13 | transitional |
| 14 | prompt "Bad prompt" |
| 15 | help |
| 16 | This transitional symbol illegally has a prompt. |
| 17 | |
| 18 | config BAD_SELECT |
| 19 | bool |
| 20 | transitional |
| 21 | select OTHER_SYMBOL |
| 22 | help |
| 23 | This transitional symbol illegally has a select. |
| 24 | |
| 25 | config BAD_IMPLY |
| 26 | bool |
| 27 | transitional |
| 28 | imply OTHER_SYMBOL |
| 29 | help |
| 30 | This transitional symbol illegally has an imply. |
| 31 | |
| 32 | config BAD_DEPENDS |
| 33 | bool |
| 34 | transitional |
| 35 | depends on OTHER_SYMBOL |
| 36 | help |
| 37 | This transitional symbol illegally has a depends. |
| 38 | |
| 39 | config BAD_RANGE |
| 40 | int |
| 41 | transitional |
| 42 | range 1 10 |
| 43 | help |
| 44 | This transitional symbol illegally has a range. |
| 45 | |
| 46 | config BAD_NO_TYPE |
| 47 | transitional |
| 48 | help |
| 49 | This transitional symbol illegally has no type specified. |
| 50 | |
| 51 | config OTHER_SYMBOL |
| 52 | bool |