[CRIU] [PATCH 3/4] zdtm: Fix deleted_dev and add to the runlist

Pavel Emelyanov xemul at parallels.com
Wed Jul 2 02:33:04 PDT 2014


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 test/zdtm.sh                        | 2 ++
 test/zdtm/live/static/deleted_dev.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 4c3f2d2..5ed405c 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -125,6 +125,7 @@ static/rtc
 transition/maps007
 static/dumpable01
 static/dumpable02
+static/deleted_dev
 "
 
 #
@@ -199,6 +200,7 @@ mountpoints
 inotify_irmap
 cgroup00
 clean_mntns
+deleted_dev
 "
 
 source $(readlink -f `dirname $0`/env.sh) || exit 1
diff --git a/test/zdtm/live/static/deleted_dev.c b/test/zdtm/live/static/deleted_dev.c
index 656015e..f614011 100644
--- a/test/zdtm/live/static/deleted_dev.c
+++ b/test/zdtm/live/static/deleted_dev.c
@@ -49,7 +49,7 @@ int main(int argc, char **argv)
 	}
 
 	if (st.st_mode != mode || st.st_rdev != dev) {
-		fail("%s is no longer the device file we had");
+		fail("%s is no longer the device file we had", filename);
 		goto out;
 	}
 
-- 
1.8.4.2




More information about the CRIU mailing list