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 9351599..fb5b93d 100644
--- a/tests/file_handle.c
+++ b/tests/file_handle.c
@@ -77,8 +77,8 @@
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",