Mercurial > hg > octave-lyh > gnulib-hg
changeset 13444:1202c081f797
idpriv-drop: Fix tests.
author | Ian Beckwith <ianb@erislabs.net> |
---|---|
date | Thu, 01 Jul 2010 10:54:36 +0200 |
parents | 6c32722a9d4b |
children | 90623df97ca6 |
files | ChangeLog tests/test-idpriv-drop.su.sh |
diffstat | 2 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-07-01 Ian Beckwith <ianb@erislabs.net> + + idpriv-drop: Fix tests. + * tests/test-idpriv-drop.su.sh: Refer to the test-idpriv-drop program, + not to the test-idpriv-droptemp program. + 2010-06-29 Bruno Haible <bruno@clisp.org> string: Fix syntax error with g++ 2.96.
--- a/tests/test-idpriv-drop.su.sh +++ b/tests/test-idpriv-drop.su.sh @@ -31,12 +31,12 @@ ./test-idpriv-drop${EXEEXT} || exit 13 # setuid and setgid root if chown nobody test-idpriv-drop${EXEEXT} 2>/dev/null; then - chmod 4755 test-idpriv-droptemp${EXEEXT} - ./test-idpriv-droptemp${EXEEXT} || exit 13 # setuid nobody - chmod 2755 test-idpriv-droptemp${EXEEXT} - ./test-idpriv-droptemp${EXEEXT} || exit 13 # setgid root - chmod 6755 test-idpriv-droptemp${EXEEXT} - ./test-idpriv-droptemp${EXEEXT} || exit 13 # setuid nobody and setgid root + chmod 4755 test-idpriv-drop${EXEEXT} + ./test-idpriv-drop${EXEEXT} || exit 13 # setuid nobody + chmod 2755 test-idpriv-drop${EXEEXT} + ./test-idpriv-drop${EXEEXT} || exit 13 # setgid root + chmod 6755 test-idpriv-drop${EXEEXT} + ./test-idpriv-drop${EXEEXT} || exit 13 # setuid nobody and setgid root fi if chown root:nobody test-idpriv-drop${EXEEXT} 2>/dev/null; then