From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72351C433EF for ; Wed, 20 Apr 2022 20:56:35 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 1778D3CA6AC for ; Wed, 20 Apr 2022 22:56:33 +0200 (CEST) Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [IPv6:2001:4b78:1:20::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 9D96A3CA63C for ; Wed, 20 Apr 2022 22:56:23 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id 12A091400BCE for ; Wed, 20 Apr 2022 22:56:22 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 112021F747; Wed, 20 Apr 2022 20:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1650488182; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=n30vADXsO03HDIoEBiy0aho89nL1t8xWHwovosAnKvQ=; b=nEPX23pzfZNHuklbnlh+gEuUx/Jc3Yy9lSXgK7JlRr1sGUqQkp5AAHxBb4RZ86UclkGDxt PVGXlX8SwpQNZizMihnQYveMTgMJpQ9mrv4APBu0o+dKTPLOFgOy8wVrJkl6GCY1wV+xg6 wpm4kvBwI1sNZCBPC3K/kNLDIuQBoMs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1650488182; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=n30vADXsO03HDIoEBiy0aho89nL1t8xWHwovosAnKvQ=; b=IBSAA4l3hCvpnsgO9sjl/vB3DlGjwGjyRIts8w543+A+QIKME9J0f0TKXIBQecmye+VZUS fuQ6tfVcOCLybyCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CA18E13A30; Wed, 20 Apr 2022 20:56:21 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Vm+CL3VzYGK4JwAAMHmgww (envelope-from ); Wed, 20 Apr 2022 20:56:21 +0000 Date: Wed, 20 Apr 2022 22:56:20 +0200 From: Petr Vorel To: Li Wang Message-ID: References: <20220420114720.1463473-1-liwang@redhat.com> <20220420114720.1463473-2-liwang@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220420114720.1463473-2-liwang@redhat.com> X-Virus-Scanned: clamav-milter 0.102.4 at in-6.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH 2/2] mkswap01: wait for the triggered events to complete X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Cc: Martin Doucha , ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi all, > Signed-off-by: Li Wang > --- > testcases/commands/mkswap/mkswap01.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > diff --git a/testcases/commands/mkswap/mkswap01.sh b/testcases/commands/mkswap/mkswap01.sh > index f6494f6e3..cb3563b49 100755 > --- a/testcases/commands/mkswap/mkswap01.sh > +++ b/testcases/commands/mkswap/mkswap01.sh > @@ -128,7 +128,7 @@ mkswap_test() > return > fi > - udevadm trigger --name-match=$TST_DEVICE > + udevadm trigger --name-match=$TST_DEVICE --settle > if [ -n "$device" ]; then > mkswap_verify "$mkswap_op" "$op_arg" "$device" "$size" "$dev_file" --settle option for udevadm trigger has been added in v238 (in 2018) [1]. This mean on SLES 12-SP5, RHEL-7.9, 18.04 LTS bionic, ... we get: trigger: unrecognized option '--settle' Do we ignore backward compatibility hoping that all distros aren't tested with newer LTP? Kind regards, Petr [1] https://github.com/systemd/systemd/commit/792cc203a67edb201073351f5c766fce3d5eab45 -- Mailing list info: https://lists.linux.it/listinfo/ltp