blob: 738ad3c42cb87be7e6d01178d732e18143a5036c [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#!/bin/sh
Patrick Williamsc0f7c042017-02-23 20:41:17 -06002
3en_US=`locale -a | grep en_US*`
4fr_FR=`locale -a | grep fr_FR*`
5de_DE=`locale -a | grep de_DE*`
6
7if [ -z "$en_US" ]
8then
9 echo "Warning: The en_US* locales is needed to run the intl.tests, please add it."
10fi
11
12if [ -z "$fr_FR" ]
13then
14 echo "Warning: The fr_FR* locales is needed to run the intl.tests, please add it."
15fi
16
17if [ -z "$de_DE" ]
18then
19 echo "Warning: The de_DE* locales is needed to run the intl.tests, please add it."
20fi
21
Brad Bishop15ae2502019-06-18 21:44:24 -040022useradd bashtest
23chown -R bashtest:bashtest tests
24setpriv --reuid bashtest --rgid bashtest --clear-groups --reset-env $(dirname "$0")/run-bash-ptests
25chown -R root:root tests
26userdel -r bashtest