summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-10-05 14:09:02 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-10-05 14:09:10 -0700
commitdcd74dbc5a2d0886301fda2f1bda6bcf2e795f08 (patch)
tree1fa58a8579d35ccc19440df12c77f580af80ed24 /app-misc/yq/files/yq-2.11.1-tests.patch
parentnet-misc/dhcpcd: Removed old (diff)
downloadgentoo-dcd74dbc5a2d0886301fda2f1bda6bcf2e795f08.tar.gz
gentoo-dcd74dbc5a2d0886301fda2f1bda6bcf2e795f08.tar.bz2
gentoo-dcd74dbc5a2d0886301fda2f1bda6bcf2e795f08.zip
app-misc/yq-1.11.1: Version bump
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc/yq/files/yq-2.11.1-tests.patch')
-rw-r--r--app-misc/yq/files/yq-2.11.1-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/yq/files/yq-2.11.1-tests.patch b/app-misc/yq/files/yq-2.11.1-tests.patch
new file mode 100644
index 000000000000..6b6231ad7eed
--- /dev/null
+++ b/app-misc/yq/files/yq-2.11.1-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/test/test.py b/test/test.py
+index a81f41b..f17f03c 100755
+--- a/test/test.py
++++ b/test/test.py
+@@ -84,7 +84,7 @@ class TestYq(unittest.TestCase):
+ unusable_tty_input = mock.Mock()
+ unusable_tty_input.isatty = mock.Mock(return_value=True)
+
+- self.run_yq("{}", [], expect_exit_codes={0} if sys.stdin.isatty() else {2})
++ self.run_yq("{}", [], expect_exit_codes={0})
+ self.run_yq("{}", ["."])
+ self.run_yq(unusable_non_tty_input, [".", test_doc])
+ self.run_yq(unusable_non_tty_input, [".", test_doc, test_doc])