From patchwork Fri Feb 1 20:04:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 1035130 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sipsolutions.net Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WOXz6XKE"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43rp3Q0VY0z9sBZ for ; Sat, 2 Feb 2019 07:04:34 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=PBjx93+Cy7k4nlIiGjSOStBCbRJ8HkY7Jg49aJVkIPs=; b=WOX z6XKE+1lLxU+GznsU1anrXz2IbiLVwNpLbLP5SRuQPNLqK00/0ZmAwOVyhFpKjeaFu65VclhHCwfe IcMlRWVrDYpmInBN3h7JkIuyWJMAMmhlNWcIulWkmURgGMUVTVDIy5AFGa6IAeNePh10519RwUZOz ZkVtivsCPx0kiczn21F5MO9DoBRJ+S8+XCFUPhSpSK9v18msNWbhjI+U5kDTZLA2ZXkJwhGs9d1J/ GiSDxZoDuR759kX3wJxlH+vek441zkS234F0lEl2uUHQ1CLIJwvBULArjg8iPCkboFBs74tvKbeWw boR9k30tFCLsZqsAkohbjXRNiC3lqBQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpf2z-00016p-9R; Fri, 01 Feb 2019 20:04:21 +0000 Received: from s3.sipsolutions.net ([2a01:4f8:191:4433::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpf2w-00016Y-D7 for hostap@lists.infradead.org; Fri, 01 Feb 2019 20:04:19 +0000 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-RC4) (envelope-from ) id 1gpf2o-0005IO-NE; Fri, 01 Feb 2019 21:04:10 +0100 From: Johannes Berg To: hostap@lists.infradead.org Subject: [PATCH] hwsim: vm-run: create a symlink to the latest logs Date: Fri, 1 Feb 2019 21:04:01 +0100 Message-Id: <20190201200401.17776-1-johannes@sipsolutions.net> X-Mailer: git-send-email 2.17.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190201_120418_443216_A872911B X-CRM114-Status: UNSURE ( 8.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Johannes Berg MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Johannes Berg This is useful when running a test multiple times, looking at log output etc. to not have to pick out the right directory each and every time. Signed-off-by: Johannes Berg --- tests/hwsim/vm/vm-run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/vm/vm-run.sh b/tests/hwsim/vm/vm-run.sh index c000d429c51c..1712ed349647 100755 --- a/tests/hwsim/vm/vm-run.sh +++ b/tests/hwsim/vm/vm-run.sh @@ -86,6 +86,8 @@ done LOGDIR=$LOGS/$DATE mkdir -p $LOGDIR +rm -f $LOGS/latest +ln -s $LOGDIR $LOGS/latest if [ -n "$CODECOV_DIR" ]; then cp -a $CODECOV_DIR/alt-wpa_supplicant $LOGDIR @@ -142,7 +144,7 @@ fi echo echo "Test run completed" -echo "Logfiles are at $LOGDIR" +echo "Logfiles are at $LOGDIR ($LOGS/latest)" if [ $CODECOV = "yes" ]; then echo "Code coverage report:" echo "file://$LOGDIR/lcov/index.html"