This reverts commit 608b464789ac62b88a455965ca1e96aeef3c1ac4.

Signed-off-by: Eva Kurchatova <[email protected]>

https://virtuozzo.atlassian.net/browse/VSTOR-132441
Feature: fix selftests
---
 .../testing/selftests/clone3/clone3_cap_checkpoint_restore.c  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c 
b/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
index 739e0ee544de..bd329d8a4567 100644
--- a/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
+++ b/tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c
@@ -53,6 +53,9 @@ static int call_clone3_set_tid(struct __test_metadata 
*_metadata,
        }
 
        if (pid == 0) {
+               int ret;
+               char tmp = 0;
+
                TH_LOG("I am the child, my PID is %d (expected %d)", getpid(), 
set_tid[0]);
 
                if (set_tid[0] != getpid())
@@ -122,6 +125,7 @@ TEST(clone3_cap_checkpoint_restore)
 {
        pid_t pid;
        int status;
+       int ret = 0;
        pid_t set_tid[1];
 
        test_clone3_supported();
-- 
2.54.0

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to