Commit 2a24ac8
rdma_topo: Run all checks, even when some fail
Today the 'check' command exits on the first check_fail(), so one bad
ACS or additional check (e.g., iommu_group) hides later failures. Move
the exit call from check_fail() to cmd_check() and print all results
before deciding to exit with error.
Signed-off-by: Vlad Dumitrescu <vdumitrescu@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>1 parent 0434340 commit 2a24ac8
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
940 | 939 | | |
941 | 940 | | |
942 | 941 | | |
| |||
948 | 947 | | |
949 | 948 | | |
950 | 949 | | |
| 950 | + | |
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
956 | 956 | | |
| 957 | + | |
| 958 | + | |
957 | 959 | | |
958 | 960 | | |
959 | 961 | | |
| |||
963 | 965 | | |
964 | 966 | | |
965 | 967 | | |
| 968 | + | |
966 | 969 | | |
967 | 970 | | |
968 | | - | |
| 971 | + | |
| 972 | + | |
969 | 973 | | |
| 974 | + | |
| 975 | + | |
970 | 976 | | |
971 | 977 | | |
972 | 978 | | |
| |||
0 commit comments