[node-patches] Change in ovirt-node[master]: tests: Disable utf8 testcase (for now)

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed May 15 13:08:30 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: tests: Disable utf8 testcase (for now)
......................................................................

tests: Disable utf8 testcase (for now)

Somehow the testcase fails, maybe the locale within the srevice context
is different to the user sessions ones, because the TUI works.

Change-Id: I1ebf3d0f7c8b327c9acb01c8035de58474245a49
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M tests/igor/sets/basic.set
M tests/igor/tcs/terminal_has_utf8_support.sh
2 files changed, 9 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/46/14746/1

diff --git a/tests/igor/sets/basic.set b/tests/igor/sets/basic.set
index b397bbe..d588ff4 100644
--- a/tests/igor/sets/basic.set
+++ b/tests/igor/sets/basic.set
@@ -5,6 +5,3 @@
 
 
 ---
-filename: 'terminal_has_utf8_support.sh'
-
----
diff --git a/tests/igor/tcs/terminal_has_utf8_support.sh b/tests/igor/tcs/terminal_has_utf8_support.sh
index 6fc0ee9..5b7230f 100755
--- a/tests/igor/tcs/terminal_has_utf8_support.sh
+++ b/tests/igor/tcs/terminal_has_utf8_support.sh
@@ -1,3 +1,10 @@
-set -e
+set -ex
 
-python -c "print(u'The terminal locale supports UTF-8 if you can read this. \u23f2')"
+env
+locale
+
+python - <<EOP
+#!/bin/env python
+# -*- coding: utf-8 -*
+print(u'The terminal locale supports UTF-8 if you can read this. \u23f2')
+EOP


--
To view, visit http://gerrit.ovirt.org/14746
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ebf3d0f7c8b327c9acb01c8035de58474245a49
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list