File: phpunit

package info (click to toggle)
php-horde-core 2.27.6%2Bdebian1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,368 kB
  • ctags: 6,126
  • sloc: php: 26,083; xml: 4,239; sh: 18; makefile: 11
file content (13 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

# We need to be root here ...
for locale in 'en_US.UTF-8 UTF-8'; do
  sed -i -e "0,/^[# ]*$locale *$/ s/^[# ]*$locale *$/$locale/" /etc/locale.gen
done
locale-gen

# ... but not here
cd Horde_Core*/test/./Horde/Core
su www-data --preserve-environment --shell /bin/sh --command 'phpunit -v .'