mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Update.
* io/ftwtest-sh: Prevent tests from being run by root.
This commit is contained in:
parent
a7c378d8cd
commit
7eb759de39
@ -1,5 +1,7 @@
|
||||
1998-05-13 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* io/ftwtest-sh: Prevent tests from being run by root.
|
||||
|
||||
* wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
|
||||
last addition. Patch by wkpark@chem.skku.ac.kr.
|
||||
|
||||
|
@ -11,6 +11,10 @@ objpfx=$1
|
||||
# --depth use the FTW_DEPTH flag
|
||||
testprogram=$2
|
||||
|
||||
# We cannot test this as root.
|
||||
if test `id | sed "s/uid=\([0-9]*\).*/\1/"` = 0; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# First create our scenario:
|
||||
tmp=`echo ${TMPDIR:-/tmp} | sed 's|\(.\)/*$|\1|'`
|
||||
|
Loading…
Reference in New Issue
Block a user