Updated test results after John fixed some tests:
Summarized Test Results ----------------------- ncp: all tests pass location: all tests pass nwamadm: all tests pass auth: all tests fail oweing to the fact that authorizations have changed enm - tests 1, 2, 3, 8 - nwam_test_user (that the tests run as) should have updated authorizations and profiles to run svcadm(1M) commands for ENMs with FMRIs. nwamcfg interactive - tests 39, 40 - can create NCPs other than "User", fix test expectation nwamcfg non-interactive - test 36 - can create NCPs other than "User", fix test expectation event (new numbering) - tests 29, 30, 31, 32, 33, 34, 70, 71, 72, 73 - log shows attempt to select/modify NCU for second interface (bge1/ce1), but no such NCUs are created in the first place (only NCUs for bge0/ce0 exist) - test 41 - does a "nwamadm disable" of a location that was conditionally enabled. not allowed. can do a "nwamadm disable" of a conditional location only it is was manually enabled. - test 50 - does a "nwamadm disable" of a location that was conditionally enabled. The test expects this to fail (which is the correct). The return value, however, is 0. That's because the location's "enabled" value is false (since it wasn't manually enabled) and thus, returns success. This is similar to disabling an already disabled SMF service and it returns 0. - test 60 - condition is on the static v6 address (from the config file), but NCU does not configure a static v6 address - test 67, 69 - continually fails on x86, but not on SPARC. Manually doing what the test does gives successful/expected results. Missing Tests ------------- New tests need to be added for the recently pushed RFEs. => output of list (in both nwamadm and nwamcfg) is sorted alphabetically => conditions can be based on NCP also "ncp <foo> is/is-not active" => object names are *not* case-sensitive => list and walkprop have a "-a" option that lists and walks all properties (the usage message also has changed) => new authorizations added and scope of existing ones changed => Network Autoconf split into two different profiles => Multiple NCPs are supported
