dev-lang/quickjs: Remove TTY check in test.

Closes: https://bugs.gentoo.org/783987
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2021-04-30 00:09:16 +02:00
parent 0bbe59f19e
commit cb92f64988
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
From aa3c213319f6df61f727a604798e8c120b7c37f4 Mon Sep 17 00:00:00 2001
From: tastytea <tastytea@tastytea.de>
Date: Fri, 30 Apr 2021 00:03:42 +0200
Subject: [PATCH] Remove TTY check in test.
---
tests/test_std.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/test_std.js b/tests/test_std.js
index 3ea6e34..a12cb81 100644
--- a/tests/test_std.js
+++ b/tests/test_std.js
@@ -143,8 +143,6 @@ function test_os()
{
var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
- assert(os.isatty(0));
-
fdir = "test_tmp_dir";
fname = "tmp_file.txt";
fpath = fdir + "/" + fname;
--
2.26.3

View File

@@ -15,6 +15,8 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=( "${FILESDIR}/${PN}-2020.11.08_Remove-TTY-check-in-test.patch" )
src_prepare() {
sed -i \
-e 's;prefix=/usr/local;prefix=/usr;' \