X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) by lists.alpinelinux.org (Postfix) with ESMTP id 3F1095C58C2 for ; Thu, 18 Oct 2018 09:06:01 +0000 (GMT) Received: by mail-vk1-f174.google.com with SMTP id y128-v6so7062982vky.4 for ; Thu, 18 Oct 2018 02:06:01 -0700 (PDT) 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=Be2ytHhEiss9nxx9ta3I59/r7HKoWjDYtgx9dcL3vJE=; b=eCl6ToJpcemCK7eq/QOJLG78PE43cx9SwX6Wlx7K7Qm3FYW63aBY8bYhcQFAn0jl+p 2CDO+9HhPYXOyWN0jweyxDIDi9oxuOGzWCBzYezFgqrA3Hai8676M0EX2YsFZhLq2wq6 sJGVp5edMDkeLKmw/nt43z1ZnXRU+HVxhgifyiQQH4HoVq7HBwXWbETKI9gR5nWnTjjU yJJdxnQBoFSmP4cmVJ2V7WuY7kt58fo7LWplh1V1zKckoUPTX+ywokiJE8M0Tgzv/XGr pfhzg0w8vvcth9vmxIR+Q1SK0MnlLsNdoT937a49ExHbp5Cf61BktPb2/bIJOZ+ZML1W +GhA== 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=Be2ytHhEiss9nxx9ta3I59/r7HKoWjDYtgx9dcL3vJE=; b=UcgOgPrOReZ/LDYoK2MSY+g2B6LZ6DisRnr4JrfHvXBYQhEOQHUNeBX2cLDoCJWzM/ C8tXuTkvEyXQ/25CbReQPTYZYXeKAOkC+JV99HYEfJEBFGF75H6KZbGuuYLaicRFH3zB QuTPmBsazqKPk6trup6NMryy/mAInAiJxXr/tlVKPk1DsJ44uiBItVZ4hAv/zBIJ/LIa ijZdFW3+NgCCTCmr6tQP/6ZaH4SbFXnshlWOpRQPw0VpJBiiqh2G7PhP5WOMj41JnVur Q81heYLeDFcK3Cq0l2X3fQ6hTtt/4fA+hml5hXtSWFsSxMigPamihTfOq1NN0voW4/OS olzA== X-Gm-Message-State: ABuFfoiN7FBIhDA9IQAh1sKhkEAcJK5BFPTXL3piILsmHHRdjff4pL2Q uKk+z2/rOOxW/CBurgWoS+SOn4tG65PWE9BsXOTUZyNM X-Google-Smtp-Source: ACcGV62NaGb9jQCANpqy8a6u18i2VNDKuwY/PVbqHBCiukm0sFdrRmxs+ZNNCB5/cuNEJnQi4IwD0NkUM/ScoNwzlG0= X-Received: by 2002:a1f:ab8e:: with SMTP id u136-v6mr12633179vke.9.1539853560552; Thu, 18 Oct 2018 02:06:00 -0700 (PDT) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20181016140333.14793-1-marian.buschsieweke@ovgu.de> In-Reply-To: <20181016140333.14793-1-marian.buschsieweke@ovgu.de> From: Leonardo Arena Date: Thu, 18 Oct 2018 11:05:49 +0200 Message-ID: Subject: Re: [alpine-aports] [PATCH 1/3] New aport: testing/py-sh To: Marian Buschsieweke Cc: alpine-aports Content-Type: multipart/alternative; boundary="0000000000007ba26a05787d1893" --0000000000007ba26a05787d1893 Content-Type: text/plain; charset="UTF-8" Hi, On Tue, Oct 16, 2018 at 4:03 PM Marian Buschsieweke < marian.buschsieweke@ovgu.de> wrote: > Call any program from python as if it were a function > https://github.com/amoffat/sh > --- > testing/py-sh/APKBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 testing/py-sh/APKBUILD > it fails for me with: ====================================================================== FAIL: test_no_fd_leak (test.MiscTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/larena/aports/testing/py-sh/src/sh-1.12.14/test.py", line 2715, in test_no_fd_leak self.assertEqual(baseline, num_fds) AssertionError: 920 != 919 ---------------------------------------------------------------------- Ran 156 tests in 38.952s FAILED (failures=1, skipped=3) Test failed: error: Test failed: Thanks! /eo --0000000000007ba26a05787d1893 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Tue, Oct 16, 2018 at 4:03 PM Marian Buschsieweke <marian.buschsieweke@ovgu.de&g= t; wrote:
Call a= ny program from python as if it were a function
https://github.com/amoffat/sh
---
=C2=A0testing/py-sh/APKBUILD | 51 +++++++++++++++++++++++++++++++++++++++++= +
=C2=A01 file changed, 51 insertions(+)
=C2=A0create mode 100644 testing/py-sh/APKBUILD


it fails for me with:


=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DFAIL: test_no_fd_leak (test.MiscTests)
--------------------------------= --------------------------------------
Traceback (most recent call last)= :
=C2=A0 File "/home/larena/aports/testing/py-sh/src/sh-1.12.14/tes= t.py", line 2715, in test_no_fd_leak
=C2=A0=C2=A0=C2=A0 self.assert= Equal(baseline, num_fds)
AssertionError: 920 !=3D 919

-----------= -----------------------------------------------------------
Ran 156 test= s in 38.952s

FAILED (failures=3D1, skipped=3D3)
Test failed: <= unittest.runner.TextTestResult run=3D156 errors=3D0 failures=3D1>
err= or: Test failed: <unittest.runner.TextTestResult run=3D156 errors=3D0 fa= ilures=3D1>


Thanks!

/eo
=
--0000000000007ba26a05787d1893-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---