╭ changed ───────╮ │src/test/net.zig│ ╰────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │449 const oid_before_denied_push = (try server_repo.readRef(io, .{ .kind = .head, .name = "master" })).?;│ │450 │ │451 // force push should be rejected by server due to denyNonFastForwards │ │452 - try client_repo.push( │ │452 + try std.testing.expectError(error.RemoteRejectedRef, client_repo.push( │ │453 io, │ │454 allocator, │ │455 "origin", │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────╮ │458 .{ .wire = .{ .ssh = .{ │ │459 .command = ssh_cmd_maybe, │ │460 } } }, │ │461 - ); │ │461 + )); │ │462 │ │463 // verify the server ref was not updated (push was denied)│ │464 { │ ╰───────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1298 const priv_key_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "key" }); │ │1299 defer allocator.free(priv_key_path); │ │1300 │ │1301 - return try std.fmt.allocPrint(allocator, "ssh -p {} -o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o IdentityFile=\"{s}\"", .{ ssh_port, priv_key_path }); │ │1301 + return try std.fmt.allocPrint(allocator, "ssh -p {} -o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -o IdentitiesOnly=yes -o IdentityFile=\"{s}\"", .{ ssh_port, priv_key_path });│ │1302 } │ │1303 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯