[CRIU] [PATCH 06/11] test: fault-injection -- Fix criu ref
Cyrill Gorcunov
gorcunov at openvz.org
Mon Feb 15 05:26:12 PST 2016
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
test/fault-injection/Makefile | 2 +-
test/fault-injection/parasite.stp | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/fault-injection/Makefile b/test/fault-injection/Makefile
index 4a2627e47827..1b31e8a2e362 100644
--- a/test/fault-injection/Makefile
+++ b/test/fault-injection/Makefile
@@ -1,2 +1,2 @@
all:
- stap -g -d ../../criu parasite.stp $$RANDOM -c 'bash -x ../zdtm.sh -d -x socket-tcp'
+ stap -g -d ../../criu/criu parasite.stp $$RANDOM -c 'bash -x ../zdtm.sh -d -x socket-tcp'
diff --git a/test/fault-injection/parasite.stp b/test/fault-injection/parasite.stp
index b71d364097f9..c1b08182e95e 100644
--- a/test/fault-injection/parasite.stp
+++ b/test/fault-injection/parasite.stp
@@ -1,6 +1,6 @@
global i, n, fini_cmd = -1, last_cmd
-probe process("../../criu").begin
+probe process("../../criu/criu").begin
{
i = 0;
/* randint() returns numbers multiple of 5 */
@@ -8,7 +8,7 @@ probe process("../../criu").begin
printf("The %d command will be replaced on -1\n", n);
}
-probe process("../../criu").function("__parasite_execute_daemon")
+probe process("../../criu/criu").function("__parasite_execute_daemon")
{
printf("%s\n", $$parms);
last_cmd = $cmd;
@@ -18,12 +18,12 @@ probe process("../../criu").function("__parasite_execute_daemon")
}
}
-probe process("../../criu").function("__parasite_execute_daemon").return
+probe process("../../criu/criu").function("__parasite_execute_daemon").return
{
printf("%d\n", $return);
}
-probe process("../../criu").function("main").return
+probe process("../../criu/criu").function("main").return
{
printf("CRIU exits with code %d\n", $return);
if ( i > n) {
--
2.5.0
More information about the CRIU
mailing list