assert_true(ending_file_slash_ok ? (fd >= 0) : (fd < 0));