Message ID | 20201128130444.432261-1-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRB4UVRH7AKGQE2YBSCWQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33a; helo=mail-wm1-x33a.google.com; envelope-from=swupdate+bncbcxploxj6ikrb4uvrh7akgqe2ybscwq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=Tc2CdPkc; dkim-atps=neutral Received: from mail-wm1-x33a.google.com (mail-wm1-x33a.google.com [IPv6:2a00:1450:4864:20::33a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CjsCt2ndjz9s0b for <incoming@patchwork.ozlabs.org>; Sun, 29 Nov 2020 00:04:55 +1100 (AEDT) Received: by mail-wm1-x33a.google.com with SMTP id a134sf3076585wmd.8 for <incoming@patchwork.ozlabs.org>; Sat, 28 Nov 2020 05:04:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1606568691; cv=pass; d=google.com; s=arc-20160816; b=d53ZN7NXCOjmN95aqWAohZpqYMTU+oT/bh78n+Zp5vnO76q11jTrjog/qRPoEspl7s 6+4vjbbPel9RgAjZyHsSpi9JV0eyIrhyJDqzStrPj/+a6l0X0L634VnrQAiah36/8dRJ LyKSLIbWPwFGZuWhJBlUnrXSIzvX10YWwpdPjRLvItc88TROYyU9Rbl3turSUNqZVpCB FP8jTu53eN0RTAh/7DGRTdavBo9yT/tAlciNuvAjtgV8zzT03rxrDx5bmZqxgoIfRNov Lwh4XgQrGr79aVUkU/x7aVpy/DdLBcI2/Y1COPTSv9fuPBbLoHWL5aiXPC30n6p7OrlQ ovcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=LLNOqxVnNTVO0KyMcsAfadMY0ordxOWraq9d6TbI7Rs=; b=f+SgzkgqwKwfZuyHmhMKtmTTbp80hXv9I9lic0X7fFP2FmLB/9hUZ4BGN2PlxcPYv9 fVG24rx7dnpJR72mt/IKtfB0Ec4c1ZjE6tHjLNAWxYGbEgQTZtRJIuh4Yy6FiFG3bBsL 8nD78laDh5igzoWdA6IRoPiBAn8nEZaYMW+jAK0D2n9DmSsSOpe3dDTHTnLSbms3NQWR iLOEJrvmJAmo/zxovpCmwFd0xnx8ltpePJ8v0SL6v91hCKOAruM2BAsOPc+Vac+l5KVs iTp1RPeMYL2CRDvxDMOCFbO+K0RzMPZxfEaahDsQxFbrl5J5luVbRkwzLZlKNOR2VVrq U6QA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LLNOqxVnNTVO0KyMcsAfadMY0ordxOWraq9d6TbI7Rs=; b=Tc2CdPkcNc8L8Y+czEQDbr6o+VnMd682/F8nh72Dv2zxAD/TFSItIA++8yykvJ0S/e 1N/EV3R6ri5BbO0T796Jlw/uG8x0Pp+PwjgjeUFUbWlVN6IMvZpRAIJyvHe9etbFg+9h 9HGba7gnjl7ujyGAo2013c5uRt27ogVK5EwymXBD3jMjDYKJSSZKj9hrPDhWR5fOmFod g4lhlRbsxByVzE9GsepVlhX721mYszCyqfwCqYCj3OCs45/wrQ2pYGnvs4dhUax103PO +Cu5X2NM1WeZniIVqze9UyDNq92wvOgnlbewFpMlE2EoU6n40K57X3uT4gN9/wVFJCMK mYYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=LLNOqxVnNTVO0KyMcsAfadMY0ordxOWraq9d6TbI7Rs=; b=JmPTX/NJBJHVbjjdyMQmeZNds5IVu1NhPxS12Xl/VniHZR5p1Pj4ad5k0cyUydtSje cHVzWdUxDF1l4En96aEJ7gHfJbKINvRRmN6WNz12hMiSlYP5kDzS2s2VvJRIEoK/7dUP TNnRJ71Dv41VcmJ5KCqf9RiCJi1PRXbPmnvrF31arkvhtU6VCz++fhCBx1vVRabHSaH3 Is4OUs2ayIUFC2ijiM3rr/vdWNLmVgzgEXctUuFwiQWOFA4sb2HHYXuBq/jDPfcfMvHX EKmNmfNe2+79Iq5HwMeKPSJWkl94aJAgNtx+9PQmJCrDQeh+6w9JKtELMbiAxHlzy+X8 RI2A== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533zk8FRfXsB04XkGEaEvmOb1aub2ILJnc7EBO8MW7tsDCDqZCb8 o9P7TL7shhQdsX93KAlHev0= X-Google-Smtp-Source: ABdhPJzsl0R4c0DeipGpsfGaY1sh4y9uyFHbZBmMM7X/HrmvsKTsrESV/ovxCOso1EWnEsxEdiK9Pw== X-Received: by 2002:adf:de05:: with SMTP id b5mr17524349wrm.131.1606568690974; Sat, 28 Nov 2020 05:04:50 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:adf:f70d:: with SMTP id r13ls3184795wrp.1.gmail; Sat, 28 Nov 2020 05:04:50 -0800 (PST) X-Received: by 2002:adf:9d49:: with SMTP id o9mr17748583wre.413.1606568689983; Sat, 28 Nov 2020 05:04:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606568689; cv=none; d=google.com; s=arc-20160816; b=dNxxB9XbYj6TJ7VB7jXri3OnR90Wixorez8wrGEb7wFP/b+BdSOIy4Rq2cSBGA5Y74 E5N8mJJZeL0axEmPTn7GlvRIbpulqP11IbppCspz8LT8rPvK00K57Utbde/ae41Awb9H 5mDpRQ0HVrt7mhwLwTRt+k8pII3FO1q+Xsx2lQFqpKXWzYT68G/jCYn4Tbi7rskD0VOd kWKknBvyomsgxqaXFC8P1hGScL+q4Dz1Q+FztWZHOtQM9suaDnDRJUdOTFBg2F+dziQg kDwlTl7sgwZVifCpk8wQkHJILCmNHjsj9cSZVmcvW0dQnu8eG1Ma9lzAx8sJG1uz7Zc/ W9CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=/wY714Rng72firQa5hzqNNxxEX8L3wbfuJ23qfhJXTE=; b=c3plAVI70BgDULG3zIOxot92+7Wir5bZXdx53ee6Gny6x1C5Juwk4Qxn20tub2LWSF xocDKZxbbvbrMcedHnIzI7D7fVevMriIn+aDGZUmP6Dg3czha0aN4IU9NbqVW38EEdMw b2O3WZ8Cs/3D8rTOKvlhdE2l1SLZBZuS4I0GQUb1fDy1RYU+GggKW+tfAF9LmSx+XSRq 26k2DxkshUaZQi9z7DGbEEpMyqfaptq+23AUJmdrjKjjtOm39dPyjslNambiAlJySpZ8 gf+/xuE0gPQts0Xp723GoyWhaKBq1xF0Ar99sMHkzkK/dqrxTOMJle1oyM0IQCnNz+eb YgTA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id r21si626736wra.4.2020.11.28.05.04.49 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Nov 2020 05:04:49 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CjsCj5yh0z1qs3v; Sat, 28 Nov 2020 14:04:49 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CjsCj5XkMz1rhFj; Sat, 28 Nov 2020 14:04:49 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id UCO6V5Eq3Z0e; Sat, 28 Nov 2020 14:04:49 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sat, 28 Nov 2020 14:04:49 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id D4FF34540210; Sat, 28 Nov 2020 14:04:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6TBWhsRpgf7b; Sat, 28 Nov 2020 14:04:46 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.64]) by babic.homelinux.org (Postfix) with ESMTP id D5713454013A; Sat, 28 Nov 2020 14:04:45 +0100 (CET) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH] test: fix test_server_hawkbit after 203b1a83 Date: Sat, 28 Nov 2020 14:04:44 +0100 Message-Id: <20201128130444.432261-1-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
test: fix test_server_hawkbit after 203b1a83
|
expand
|
diff --git a/test/test_server_hawkbit.c b/test/test_server_hawkbit.c index e2a05f8..9c7c128 100644 --- a/test/test_server_hawkbit.c +++ b/test/test_server_hawkbit.c @@ -247,6 +247,7 @@ static void test_server_has_pending_action(void **state) json_tokener_parse(json_reply_cancel_data)); will_return(__wrap_channel_get, CHANNEL_OK); will_return(__wrap_channel_put, CHANNEL_OK); + will_return(__wrap_save_state, SERVER_OK); assert_int_equal(SERVER_OK, server_has_pending_action(&action_id)); }
Last commit add an additional call to save_state() Signed-off-by: Stefano Babic <sbabic@denx.de> --- test/test_server_hawkbit.c | 1 + 1 file changed, 1 insertion(+)