From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4E9DEA00C2; Wed, 8 Dec 2021 20:07:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C9E644111B; Wed, 8 Dec 2021 20:07:11 +0100 (CET) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mails.dpdk.org (Postfix) with ESMTP id 39515410F3 for ; Wed, 8 Dec 2021 20:07:11 +0100 (CET) Received: by mail-lf1-f53.google.com with SMTP id z21so7473754lfu.8 for ; Wed, 08 Dec 2021 11:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7zctmKUc6/uoXmfDu+w2n1m+f+KpADXojT//+XCxrH8=; b=O72xTER3CpNiyaiNDnG4IwHAZ4eRsZzPxvVPkc0UhJ8JBy49O0XZfrxla/uzFJmVc1 RDKWFtrQYVafuqtqjpnmWPS5gWRrRlEA55525tyL+69Ywxpr2XJYoP053dshPo0O8Zsw +c/OFasg9a3a38M9G2bJrIclCXNpQMRxSIKDceJsR8lA/ysfYgtj6D6R9HyxmJOR+BFm qgrfuZ3Yu9HGlo9ef/1K7PdHZtXa3iv/jltRtm2XXfNLflNYNmUWeLa0ygCKs5hoEGS6 AQFjyFH5r+oeF9FT35mp02v4cuXl8K6OEE5fkJW7em3F8Lf95m94nqWrylpGWCtqdk6f T2Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7zctmKUc6/uoXmfDu+w2n1m+f+KpADXojT//+XCxrH8=; b=JYMrj+A3BJqsEwJspjCqjeOG2PZ9Tz+Vzi07bTmhWh53MWX/THtIKpnoL1cS0vy9K0 PC4ssYpL0hiofd7UO3CfBvmPrWdiQ/CDJn5japqLUZwHtzjvl2ZFOYHDGocVHIwiniXT 8BB/QuEhC8c0+ca3R7eQNMj1HnHk1tB6JgTiTVqaQ6djpYulYpDnYsB2fGjPhKmkO155 gt53rRapbAZgGKgtYMimkZVBNmRy3q7Ji9zT1aqSfO/GPqgjimD8F6d0wlHpmf3WCbqP 7wC53M9Yi6Zgq/cyb3tEW8NWQTlE/hqP/AW4P1ld/ax4wHXgu0Q4zAuae87xrgVVJFJx ziyQ== X-Gm-Message-State: AOAM531/J4ZIEYYTVVINE2Nhsuv+n90FgikUzUMRSEl702qjGFSOe/wo utnS7hceCnKehKauOBJpfts= X-Google-Smtp-Source: ABdhPJwxr8ptbQnqpJnNF4BQacAlDELoF7xFuMSOZDtrE9pGwzrWpMOm0oc11s0YQ5NWUJOKWKkCcA== X-Received: by 2002:a05:6512:2350:: with SMTP id p16mr1230997lfu.117.1638990430813; Wed, 08 Dec 2021 11:07:10 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id j20sm327456lfm.136.2021.12.08.11.07.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Dec 2021 11:07:10 -0800 (PST) Date: Wed, 8 Dec 2021 22:07:09 +0300 From: Dmitry Kozlyuk To: Jie Zhou Cc: dev@dpdk.org, bruce.richardson@intel.com, roretzla@microsoft.com, navasile@linux.microsoft.com, dmitrym@microsoft.com, pallavi.kadam@intel.com, talshn@nvidia.com, thomas@monjalon.net, aconole@redhat.com Subject: Re: [PATCH v14 06/11] app/test: differentiate a strerror on different OS Message-ID: <20211208220709.4513da8a@sovereign> In-Reply-To: <1638990000-3228-7-git-send-email-jizh@linux.microsoft.com> References: <1638928262-13177-1-git-send-email-jizh@linux.microsoft.com> <1638990000-3228-1-git-send-email-jizh@linux.microsoft.com> <1638990000-3228-7-git-send-email-jizh@linux.microsoft.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 2021-12-08 10:59 (UTC-0800), Jie Zhou: > On Windows, strerror returns just "Unknown error" for errnum greater > than MAX_ERRNO, while linux and freebsd returns "Unknown error ", > which is the current expectation for errno_autotest. Differentiate > the error string on Windows to remove a "duplicate error code" failure. > > Signed-off-by: Jie Zhou Acked-by: Dmitry Kozlyuk