forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-i18n/translate-shell: remove online tests
Closes: https://bugs.gentoo.org/630950 Package-Manager: Portage-2.3.8, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
app-i18n/translate-shell/files/translate-shell-0.9.6.6-remove-online-tests.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
diff --git a/Makefile b/Makefile | ||
index acc96e0..622e136 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -27,8 +27,6 @@ test: build | ||
|
||
check: test | ||
$(BUILDDIR)/$(COMMAND) -V | ||
- [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b 忍者`" = 'Ninja' ] &&\ | ||
- [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b 'hello world'`" = 'hello world' ] | ||
|
||
install: build | ||
@mkdir -p $(DESTDIR)$(PREFIX)/bin &&\ | ||
diff --git a/test/TestUtils.awk b/test/TestUtils.awk | ||
index 08bb2e9..3465327 100644 | ||
--- a/test/TestUtils.awk | ||
+++ b/test/TestUtils.awk | ||
@@ -30,24 +30,6 @@ BEGIN { | ||
assertTrue(newerVersion("2", "1.9.9999")) | ||
} | ||
|
||
- T("curl()", 1) | ||
- { | ||
- delete tokens; delete ast | ||
- tokenize(tokens, curl("https://httpbin.org/get")) | ||
- parseJson(ast, tokens) | ||
- assertEqual(unparameterize(ast[0 SUBSEP "url"]), | ||
- "https://httpbin.org/get") | ||
- } | ||
- | ||
- T("curlPost()", 1) | ||
- { | ||
- delete tokens; delete ast | ||
- tokenize(tokens, curlPost("https://httpbin.org/post", "fizz=buzz")) | ||
- parseJson(ast, tokens) | ||
- assertEqual(unparameterize(ast[0 SUBSEP "url"]), | ||
- "https://httpbin.org/post") | ||
- } | ||
- | ||
T("dump()", 3) | ||
{ | ||
delete group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters