From patchwork Thu Apr 2 15:56:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omer Zilberberg X-Patchwork-Id: 6150481 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2EA45BF4A6 for ; Thu, 2 Apr 2015 15:56:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E4D7203B0 for ; Thu, 2 Apr 2015 15:56:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75FC7202EC for ; Thu, 2 Apr 2015 15:56:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752429AbbDBP4V (ORCPT ); Thu, 2 Apr 2015 11:56:21 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:32869 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752505AbbDBP4V (ORCPT ); Thu, 2 Apr 2015 11:56:21 -0400 Received: by wixm2 with SMTP id m2so58684148wix.0 for ; Thu, 02 Apr 2015 08:56:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yugeBbw0gL0o4SAS8HB6mldQsjXYUMJiQFPonr/Zr6M=; b=VqyArv2jMaqvt9v9Xkjs4gCU5JxZPKrp481/FDkB7D9s4CturkhbH7/bEyqzbq7C2k gDcxuvzH9amnBaWP0Um/J/d7yhgwIA5GaJticB8IDQqS6k0VzJPrJcPghnZx6LwLWnFn twe+IdOWkWyBoIJZ11jZ1J2ZSv712TrLiVrHwP5sdf2XWLHCorCM2HidH2fZVUxblmK4 9hfFwPJKQy33IsNVL6kapoYlB35AdM7O6llw6Y/dHuzrtmXRFrQJw+oi8c2W6Rb4yo0U L9KT2rYR7VNJ9oZ25rkywch4cXmrHhiWA6OXiz9RqFhSebRcfT53sifp751YgsDzE/1P fxGQ== X-Gm-Message-State: ALoCoQlLYsJZkr0S93Mp/ayi6DDhu1sJ/R2RfT3DIIfQ1zLBfN3THwRu20ZyJTdlbc7BMsBI31G8 X-Received: by 10.195.11.73 with SMTP id eg9mr92979928wjd.62.1427990180171; Thu, 02 Apr 2015 08:56:20 -0700 (PDT) Received: from localhost.localdomain ([207.232.55.62]) by mx.google.com with ESMTPSA id ed14sm12019662wic.11.2015.04.02.08.56.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Apr 2015 08:56:19 -0700 (PDT) From: Omer Zilberberg To: fstests@vger.kernel.org Cc: Omer Zilberberg Subject: [PATCH] generic/076: fixed incorrect fsstress parameters Date: Thu, 2 Apr 2015 18:56:08 +0300 Message-Id: <1427990168-21503-1-git-send-email-omzg@plexistor.com> X-Mailer: git-send-email 1.9.3 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Test was not run because directory parameter was omitted. Also return value was not tested, so this problem was not caught. Signed-off-by: Omer Zilberberg Reviewed-by: Filipe Manana Tested-by: Filipe Manana --- tests/generic/076 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/generic/076 b/tests/generic/076 index aa0aae0..3e1aa1a 100755 --- a/tests/generic/076 +++ b/tests/generic/076 @@ -74,9 +74,11 @@ echo "*** test concurrent block/fs access" cat $SCRATCH_DEV >/dev/null & pid=$! -FSSTRESS_ARGS=`_scale_fsstress_args -p 2 -n 2000 $FSSTRESS_AVOID` +FSSTRESS_ARGS=`_scale_fsstress_args -d $SCRATCH_MNT -p 2 -n 2000 $FSSTRESS_AVOID` echo "run fsstress with args: $FSSTRESS_ARGS" >>$seqres.full $FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full +rc=$? +[ $rc != 0 ] && echo "fsstress returned $rc - see $seqres.full" _lets_get_pidst echo "*** done"