File: phpunit

package info (click to toggle)
php-horde-core 2.31.6%2Bdebian0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,448 kB
  • sloc: php: 26,351; xml: 4,523; 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 .'