Fix: tests: error handling labels are in the wrong order
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 Apr 2012 15:38:49 +0000 (11:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 Apr 2012 15:38:49 +0000 (11:38 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/kernel/kernel_all_events_basic.c
tests/kernel/kernel_event_basic.c
tests/ust/ust_global_event_basic.c
tests/ust/ust_global_event_wildcard.c

index 2e56e6a671464f3133a77310a00e02c6c8d0cc89..b80dbd32269e500d35b8a13b47dd4c3983d96a48 100644 (file)
@@ -104,10 +104,10 @@ int main(int argc, char **argv)
 
        return 0;
 
-create_fail:
-       assert(ret != 0);
 handle_fail:
        assert(handle != NULL);
+create_fail:
+       assert(ret != 0);
 
 stop_fail:
 start_fail:
index a7d7dfae8df6c4ba8d9f0168dda6825bc23acbc3..b0cbf669fa788be9d1e4d0f1667ef174a3478106 100644 (file)
@@ -176,10 +176,10 @@ int main(int argc, char **argv)
 
        return 0;
 
-create_fail:
-       assert(ret != 0);
 handle_fail:
        assert(handle != NULL);
+create_fail:
+       assert(ret != 0);
 
 stop_fail:
 start_fail:
index 14d5b8ebd778cef7c9ab62e0a9a3256d95fd3435..6f116969f554add2c0ed0116ac9b86d68f976cc1 100644 (file)
@@ -276,10 +276,10 @@ int main(int argc, char **argv)
 
        return 0;
 
-create_fail:
-       assert(ret != 0);
 handle_fail:
        assert(handle != NULL);
+create_fail:
+       assert(ret != 0);
 
 stop_fail:
 start_fail:
index 1e4420fa53789e11877230329fec1a898a5cfa23..198a54168c8e9e88a3c5267d6222eb68139f7f96 100644 (file)
@@ -116,10 +116,10 @@ int main(int argc, char **argv)
 
        return 0;
 
-create_fail:
-       assert(ret != 0);
 handle_fail:
        assert(handle != NULL);
+create_fail:
+       assert(ret != 0);
 
 stop_fail:
 start_fail:
This page took 0.026776 seconds and 4 git commands to generate.