Path: csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Eduardo Bustamante Newsgroups: gnu.bash.bug Subject: Re: How to compile hashlib.c for testing? Date: Thu, 27 Dec 2018 17:34:49 -0800 Lines: 10 Approved: bug-bash@gnu.org Message-ID: References: <31ae9367-7968-aff5-d0e8-0f9da667d584@case.edu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1545961032 12694 208.118.235.17 (28 Dec 2018 01:37:12 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Chet Ramey , bug-bash To: Peng Yu Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bGUye8fxgnKS32pL+xRDTqhy8ka4okMrIOEfWcIgj7Y=; b=KzspHIlwaD7+dxgE4jQ6KB8qc2fZdPizQMpPvx4Z29PSmwcNa+Vka3r3mqxIIqpbsu UA03SkMRzdHfbt7sxf03/FKGj7fJGbrDtOlRYAIKa04q6LNjTUhpTtGW7DdCV5Pnlw8I avxzZZID5IDiVn3t8q244vlbSMAiJW5T40GyDcFOpQZuKMcBdoozfWvl+/uPwUjbgNMP HeRSQdjJ/1rqzwCmt4Z+7QJQQ5/uJZ8+f6QlWo8zm15o9ijw7elJvNLd91ov8Or3d4hx t7Xs84YEdz+cDlzuw+puwMw3D1FSqVGEz7c20OfkMaLG40CCDpM3QgMAO5S8lomfarmM a73A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bGUye8fxgnKS32pL+xRDTqhy8ka4okMrIOEfWcIgj7Y=; b=FQh6D9JVYYwZYIOf6s+SeDMeqYvOoWkAgkNkup9hKm6pdytoPjYgHV6eA/h1iKvnQM EIGzglKLO136tMvHW7Ns/isSN7n8LebGQ6F7mECSryNtYa90oYrobEqxzUwDKZp2BNSp +LlsHqatqZ7lxsJwgSQCsFsOqjTBflO44loHM3vwd1ASKvTklzye/T/b0rlxg/lVzBI2 Czn9+hUANeQA05/ZUldUBRVudhiT4FHt7Ayij6z4ygbA4CStQWY9HxYRZvPiDeBGeEsA yHkza/0vIW0fUjn524OKb5jETFdXDbBxVX8ww81qZkeiYaSq5vN8je5OQcU2hKYJUEUB VU2g== X-Gm-Message-State: AJcUukekM0+GeIQRzOMhPU9e5PDmrZ2RSJoaCUpnUYn8r4/Ab3L8Yrim qc7oPV16+38P9jbj7+FuRyLNpg49oqPQJNXP5Dg= X-Google-Smtp-Source: ALg8bN6wwGOpPeh8GFeMqPmFtcA2RTVcN82ZKsdP9oSaJ5ygMhCbYovst7/qRDuM6MCf4F4NJ3XVs9OgSVl9ykvFCJw= X-Received: by 2002:a2e:8719:: with SMTP id m25-v6mr16173215lji.121.1545960904480; Thu, 27 Dec 2018 17:35:04 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22d X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:14978 On Thu, Dec 27, 2018 at 5:15 PM Peng Yu wrote: (...) > Since the main() function is already there, why there is not already > an easy way to compile it? How do you do unit-testing then for the > code? This is very easy to figure out from the source code, right :)? (Hint: there is no "unit" testing in bash)