test: add diagnostic message to net_registry test.
authorMichael Adam <obnox@samba.org>
Tue, 1 Apr 2008 13:51:51 +0000 (15:51 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 1 Apr 2008 14:16:55 +0000 (16:16 +0200)
Michael
(This used to be commit c04a234f8f6fbdf8e54c69414024d84aa71fec45)

source3/script/tests/test_net_registry.sh

index 7b6faede0bd16d9983e897470fcb9f3edeea2e27..9ea78cfd81a696d267fa49a59f487408ad2671c0 100755 (executable)
@@ -315,6 +315,7 @@ test_setvalue_twice()
 
        OUTPUT=`test_setvalue ${KEY} ${VALNAME} ${VALTYPE1} ${VALVALUE1}`
        if test "x$?" != "x0" ; then
+               echo "ERROR: first setvalue call failed"
                printf "%s\n" "$OUTPUT"
                false
                return