Searched refs:img_fd (Results 1 – 1 of 1) sorted by relevance
1002 int img_fd = -EBADF; in FIXTURE_SETUP() local1052 img_fd = openat(-EBADF, "/mnt/C/ext4.img", O_CREAT | O_WRONLY, 0600); in FIXTURE_SETUP()1053 ASSERT_GE(img_fd, 0); in FIXTURE_SETUP()1054 ASSERT_EQ(ftruncate(img_fd, 1024 * 2048), 0); in FIXTURE_SETUP()1057 ASSERT_EQ(close(img_fd), 0); in FIXTURE_SETUP()