Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: "G. Branden Robinson" Newsgroups: gnu.bash.bug Subject: Re: How to compile hashlib.c for testing? Date: Thu, 27 Dec 2018 20:41:37 -0500 Lines: 46 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="atxtesq3y2r3t5th" X-Trace: usenet.stanford.edu 1545962558 13650 208.118.235.17 (28 Dec 2018 02:02:38 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kvhspoWpQ/vGOM8E79/VMwbTLwUZId60ZHMlXonlgB0=; b=ibhKVgVvee2Pcg/Si4hXZHSzNMWxMwDcnhL0nA/KqH1uOOyHN30itSBXxn2cEgOzN8 hulm01OS5VIN/YrEG+kltsGoj7cokPP2kbawBh8IkSKojAP6cj4YYPPo2OwmmdPhRekk qp1iO9S6K/SmK1WkVIuXhEQbPCKhfCXGsVebwgQLc19NTol40hA8JZ7lAO753zlYLNNp 4S7WoeWyBJyl0Lx3ds5xpLO9jGK9Tt8VSNO+AE4NupR2gF2lQVtJkHAB5LPN6wlPHMUQ 2XR88Q8uSXOz12WglqkvdcaeLD7JGOoe2mprmL73i9vpmcdKOv7xSfS5u4Q4ukQ1tWxy Dx1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kvhspoWpQ/vGOM8E79/VMwbTLwUZId60ZHMlXonlgB0=; b=VvYuIGP+tvmf5UXv/RM+fp3Tlk39NfDAWHoHCNqo2xA2qE0WzE0zsHnFF3LruReSka ptdqVd19awbQQcZ3nhT14XDU5XWPLlNQazYJgeZJc1DlkpcaT2B0fVBSg57G/roUJQDL E1Lx0rYzVLFyZH7ViJjooTq/yAE9gkP1IIBDRIFw0gFOzCktQa4zsvOInF5weXp/Ooe5 30Gp5KEDDaq+UkxpWbSSzuEyyuUw7gQRP089e6fOXwCae1BSI9PDR4myipdRK7rtkuyQ fRot4TxUgrRURS1fs54Mgx8iD/BD/1HV399Ot3SASoxwr2BLYhOHN2zhwNT3L8D8lrI/ 4tJA== X-Gm-Message-State: AA+aEWbJA11Xxqi4oj7CsjwfSk4EJtc/nq/MVyPHikG1kBV40Y5O1nEG nSyUOKgh5kqc6uWB1Lufp093VzecmBg= X-Google-Smtp-Source: AFSGD/Ve4RqM9KWiXLwNijExn2abOluPW0jkLSHoZWnxKr/9Kl0jhowKN0BetqkJIPsCyuouL3Zw9A== X-Received: by 2002:a81:9ad8:: with SMTP id r207mr25494034ywg.72.1545961299923; Thu, 27 Dec 2018 17:41:39 -0800 (PST) Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c36 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:14981 --atxtesq3y2r3t5th Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable At 2018-12-27T17:34:49-0800, Eduardo Bustamante wrote: > 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? >=20 > This is very easy to figure out from the source code, right :)? >=20 > (Hint: there is no "unit" testing in bash) Au contraire! :-D https://github.com/kward/shunit2 Regards, Branden --atxtesq3y2r3t5th Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAlwlf1AACgkQ0Z6cfXEm bc5etA/8DIpgAdCJkxdlweaGA4d7spQJ/djYJDRU3BljtRgoEG4pcd0xaSlxHrxS MLQ4Y9TIEnknnbHHvxj8V/b33eFQA8i9Vy9yKFQhrUuTrzKfM+yKwgRH4dviNL3p mjpYufYCZlMjKpIubNPyZi7/YDPHuv7577UiYdnCbx4UpyNak9cqjmXda9OdVHDN iqimrR3tJzpzHohB8hY5UDKuVRJUbOR8n17WCg1/LCXdIuCczFqIv7ysJkVTtiNM k5iUwBtgva3+HNvULRR7urEn3dQwM7IqZspE8qe7eO4U/cnOYlyEPcilKqQH/Gdp GuTZiLDxjpXGwIW15chwABuBDr6DmBlr4GEw95SLg1tOTi5ObK7GU0WaZFP/CEVR 3pgEPCUE7wXMw6WMngXb36r9/WoadQDnO0OqdetIzSPeCpHGdo5+FQh9qUbTqU0r +hen6c0C9FbV+TedY/nYkjWX3K6WTNfBk3Y2JPbmh6P1XKqSTttZ9Yy3VjpmBFuJ RXwxm/picu/2/2259kZP2ow7epoTxXXuyr/GXO/0WDe0EAKOQlZf5KE/mXDylU0K hLjMFmbGvEEirJd0deNDWd2CO7vLo6SZojAOYgn7UuEjsQ5pRZucfTPHHmkUqnru sIwNzx2j6lpbc/z0E5egwKEtq0CyfhsNMANwtI31pQvI8OUg2Io= =lEBr -----END PGP SIGNATURE----- --atxtesq3y2r3t5th--