From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD8A7385EC56; Sun, 4 Apr 2021 18:32:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD8A7385EC56 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/27694] [dwz, testsuite] smaller-than.sh: line 18: 16#: invalid integer constant (error token is "16#") Date: Sun, 04 Apr 2021 18:32:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2021 18:32:40 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27694 --- Comment #1 from Tom de Vries --- Fixed by: ... diff --git a/testsuite/scripts/smaller-than.sh b/testsuite/scripts/smaller-than.sh index ab06e3a..6902bc1 100755 --- a/testsuite/scripts/smaller-than.sh +++ b/testsuite/scripts/smaller-than.sh @@ -13,6 +13,10 @@ section_size () | grep "\.debug_$section" \ | sed 's/.*\.debug_//' \ | awk '{print $5}') + if [ "$s" =3D "" ]; then + echo 0 + return + fi # Convert hex to decimal. s=3D$(printf "%d" $((16#$s))) ... --=20 You are receiving this mail because: You are on the CC list for the bug.=