diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-06-08 14:43:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-06-08 14:43:39 +0000 |
commit | f535dd028f68e65f56f999aedbd397c3d0eb4845 (patch) | |
tree | 4b02cd654c4d769b9f87e4e09d49ec78e2a49b6e /grp/tst_fgetgrent.sh | |
parent | f5508a15fd0d28806124e9b6e9fab6f99ac087a0 (diff) | |
download | glibc-f535dd028f68e65f56f999aedbd397c3d0eb4845.tar glibc-f535dd028f68e65f56f999aedbd397c3d0eb4845.tar.gz glibc-f535dd028f68e65f56f999aedbd397c3d0eb4845.tar.bz2 glibc-f535dd028f68e65f56f999aedbd397c3d0eb4845.zip |
Update.
1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* grp/Makefile: Add rules for tst_fgetgrent.
* grp/tst_fgetgrent.c: Rewritten to read only one file.
* grp/tst_fgetgrent.sh: New file.
Diffstat (limited to 'grp/tst_fgetgrent.sh')
-rw-r--r-- | grp/tst_fgetgrent.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/grp/tst_fgetgrent.sh b/grp/tst_fgetgrent.sh new file mode 100644 index 0000000000..f47de5df48 --- /dev/null +++ b/grp/tst_fgetgrent.sh @@ -0,0 +1,42 @@ +#! /bin/sh +# Copyright (C) 1999 Free Software Foundation, Inc. +# This file is part of the GNU C Library. +# Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1999. +# +# The GNU C Library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# The GNU C Library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with the GNU C Library; see the file COPYING.LIB. If +# not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +common_objpfx=$1; shift +elf_objpfx=$1; shift +rtld_installed_name=$1; shift + +testout=${common_objpfx}/grp/tst_fgetgrent.out +library_path=${common_objpfx} + +result=0 + +${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ +${common_objpfx}grp/tst_fgetgrent 0 > ${testout} || result=1 + +${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ +${common_objpfx}grp/tst_fgetgrent 1 >> ${testout} || result=1 + +${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ +${common_objpfx}grp/tst_fgetgrent 2 >> ${testout} || result=1 + +${elf_objpfx}${rtld_installed_name} --library-path ${library_path} \ +${common_objpfx}grp/tst_fgetgrent 3 >> ${testout} || result=1 + +exit $result |