summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-17 22:23:02 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-17 22:23:02 -0400
commita804dc133f0a3ad59d85052bb702530fe4e35751 (patch)
tree077d8baa3ead68b267148b3d31dd658e7abb0a94
parent3975036c57a0ffa8e78390de499fde63ede7683e (diff)
Some of the tests require UTF-8.
-rw-r--r--TODO.md9
-rwxr-xr-xruntests6
2 files changed, 9 insertions, 6 deletions
diff --git a/TODO.md b/TODO.md
index c4e487e..5dac4c0 100644
--- a/TODO.md
+++ b/TODO.md
@@ -25,10 +25,7 @@
(grep'ed from sd-tests-unit.log)
120/336 test-boot-timestamps SKIP 0.01 s # says SKIP on failure instead of FAIL--why is it failing?
- 133/336 test-format-table FAIL 0.37 s (killed by signal 6 SIGABRT) # why did this start failing?
- 152/336 test-string-util FAIL 0.30 s (killed by signal 6 SIGABRT) # why did this start failing?
- 157/336 test-process-util FAIL 0.20 s (killed by signal 6 SIGABRT) # why did this start failing?
- 164/336 test-barrier SKIP 0.01 s # is actually manual
- 207/336 test-execute FAIL 3.15 s (killed by signal 6 SIGABRT) # https://github.com/systemd/systemd/issues/9881
- FAIL: 4
+ 164/336 test-barrier SKIP 0.02 s # is actually manual
+ 207/336 test-execute FAIL 3.39 s (killed by signal 6 SIGABRT) # https://github.com/systemd/systemd/issues/9881
+ FAIL: 1
SKIP: 2
diff --git a/runtests b/runtests
index ded2065..8799321 100755
--- a/runtests
+++ b/runtests
@@ -186,6 +186,12 @@ ${WORKDIR}/build-$(COMMIT)/build.log: %/build.log: %/build.raw
--size=5G \
--package=python-pyparsing \
'$@.tmp'
+ ./osi-shell '$<' <<-'EOF'
+ set -e
+ echo en_US.UTF-8 UTF-8 >/etc/locale.gen
+ echo LANG=en_US.UTF-8 >/etc/locale.conf
+ locale-gen
+ EOF
mv -T -- '$@.tmp' '$@'
%/sd-tests-unit.log: %/sd-tests-unit.raw
./osi-shell '$<' <<-'EOF' |& tee '$@.tmp'