summaryrefslogtreecommitdiff
path: root/net-misc/httpstat/files/httpstat-1.2.1-gentoo-tests.patch
blob: 0fcb6523e6e1eabc44a3ef4ce65a71ffd017fe55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
- Testscript doesn't need to run tests for multiple python implementations,
  PM will take care of that.

- Disabling test which requires specific locales.

--- a/httpstat_test.sh
+++ b/httpstat_test.sh
@@ -19,8 +19,7 @@ function title() {
 http_url="google.com"
 https_url="https://http2.akamai.com"
 
-for pybin in python python3; do
-#for pybin in python; do
+for pybin in python; do
     echo
     echo "# Test in $pybin"
 
@@ -40,9 +39,9 @@ for pybin in python python3; do
     main_silent $https_url
     assert_exit 0
 
-    title "comma decimal language (ru_RU)"
-    LC_ALL=ru_RU main_silent $http_url
-    assert_exit 0
+    #title "comma decimal language (ru_RU)"
+    #LC_ALL=ru_RU main_silent $http_url
+    #assert_exit 0
 
     title "HTTPSTAT_DEBUG"
     HTTPSTAT_DEBUG=true main $http_url | grep -q 'HTTPSTAT_DEBUG=true'