From: Dmitry V. Levin Date: Thu, 26 Nov 2015 16:48:23 +0000 (+0000) Subject: tests/file_handle: fix expected output X-Git-Tag: v4.11~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c65ff00ee1c258ca40a5bed3916ace21e9df925;p=strace tests/file_handle: fix expected output * tests/file_handle.c (main): Parametrize handle_type in open_by_handle_at parser output. --- diff --git a/tests/file_handle.c b/tests/file_handle.c index 9351599a..fb5b93df 100644 --- a/tests/file_handle.c +++ b/tests/file_handle.c @@ -77,8 +77,8 @@ main(void) printf("}, [%d], AT_SYMLINK_FOLLOW) = 0\n", mount_id); assert(open_by_handle_at(-1, handle, O_RDONLY | O_DIRECTORY)); - printf("open_by_handle_at(-1, {handle_bytes=%u, handle_type=1, f_handle=0x", - handle->handle_bytes); + printf("open_by_handle_at(-1, {handle_bytes=%u, handle_type=%d" + ", f_handle=0x", handle->handle_bytes, handle->handle_type); for (i = 0; i < handle->handle_bytes; ++i) printf("%02x", handle->f_handle[i]); printf("}, O_RDONLY|O_DIRECTORY) = -1 %s\n",