Registered twice, must unregister twice
authorZdeněk Šustr <sustr4@cesnet.cz>
Thu, 5 Apr 2012 05:54:12 +0000 (05:54 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Thu, 5 Apr 2012 05:54:12 +0000 (05:54 +0000)
org.glite.testsuites.ctb/PX/tests/px-test-all.sh

index 0b9485a..c923210 100755 (executable)
@@ -224,6 +224,14 @@ if [ $? -eq 0 ]; then
                        test_failed
                        print_error "Not created as the same registration!${NL}Old proxy: $REGISTERED_PROXY${NL}New proxy: $NEW_REGISTERED"
                fi
+               printf "Removing 2nd registration... "
+               glite-proxy-renew -j $JOBID stop;
+               if [ $? -eq 0 ]; then
+                       test_done
+               else
+                       test_failed
+                       print_error "Failed to stop"
+               fi
 
        else
                test_failed