[CRIU] [PATCH 4/4] zdtm: Add more verbosity to deleted_dev failure

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


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

diff --git a/test/zdtm/live/static/deleted_dev.c b/test/zdtm/live/static/deleted_dev.c
index f614011..1b046e1 100644
--- a/test/zdtm/live/static/deleted_dev.c
+++ b/test/zdtm/live/static/deleted_dev.c
@@ -50,6 +50,8 @@ 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", filename);
+		test_msg("mode %x want %x, dev %x want %x\n",
+				st.st_mode, mode, st.st_rdev, dev);
 		goto out;
 	}
 
-- 
1.8.4.2




More information about the CRIU mailing list