diff options
author | Jim Meyering <jim@meyering.net> | 1998-06-29 02:15:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-06-29 02:15:29 +0000 |
commit | 1d94869663fee5984761e16807b9e1600a6c7750 (patch) | |
tree | 07f67cffc9332fd287d618ac508edf08512d2608 | |
parent | ce195c7a07f26b9cb822e46558f8b1e1dfe0360d (diff) | |
download | coreutils-1d94869663fee5984761e16807b9e1600a6c7750.tar.xz |
.
-rw-r--r-- | m4/Makefile.in | 14 | ||||
-rwxr-xr-x | tests/cp/new | 76 | ||||
-rw-r--r-- | tests/date/Makefile.in | 2 | ||||
-rw-r--r-- | tests/factor/Makefile.in | 2 | ||||
-rw-r--r-- | tests/test/Makefile.in | 2 |
5 files changed, 18 insertions, 78 deletions
diff --git a/m4/Makefile.in b/m4/Makefile.in index 08bae8005..314cf65e6 100644 --- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -62,10 +62,12 @@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CPP = @CPP@ DATADIRNAME = @DATADIRNAME@ -DF_PROG = @DF_PROG@ GENCAT = @GENCAT@ +GETHOSTBYNAME_LIB = @GETHOSTBYNAME_LIB@ +GETLOADAVG_LIBS = @GETLOADAVG_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ +GNU_PACKAGE = @GNU_PACKAGE@ GT_NO = @GT_NO@ GT_YES = @GT_YES@ INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ @@ -73,16 +75,24 @@ INSTOBJEXT = @INSTOBJEXT@ INTLDEPS = @INTLDEPS@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ +KMEM_GROUP = @KMEM_GROUP@ LIBOBJS = @LIBOBJS@ +LIB_CRYPT = @LIB_CRYPT@ MAKEINFO = @MAKEINFO@ +MAN = @MAN@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -MVDIR_PROG = @MVDIR_PROG@ +NEED_SETGID = @NEED_SETGID@ +OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@ +OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@ PACKAGE = @PACKAGE@ PERL = @PERL@ POFILES = @POFILES@ POSUB = @POSUB@ +POW_LIBM = @POW_LIBM@ RANLIB = @RANLIB@ +SEQ_LIBM = @SEQ_LIBM@ +SQRT_LIBM = @SQRT_LIBM@ U = @U@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ diff --git a/tests/cp/new b/tests/cp/new deleted file mode 100755 index 717aab625..000000000 --- a/tests/cp/new +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -LANGUAGE=C; export LANGUAGE -LANG=C; export LANG - -VERSION_CONTROL=numbered; export VERSION_CONTROL - -pwd=`pwd` -PATH=$pwd/../../src:$PATH - -actual=actual-$$ -expected=expected-$$ -trap "cd $pwd; rm -rf $actual $expected dir" 0 1 2 3 15 - -exec 1> $actual - -contents=XYZ -for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2'; do - for options in '' -b -bd -bdf; do - rm -rf dir - mkdir dir - cd dir - echo $contents > foo - case "$args" in *symlink*) ln -s foo symlink ;; esac - case "$args" in *sl1*) ln -s foo sl1;; esac - case "$args" in *sl2*) ln -s foo sl2;; esac - ( - ( - cp $options $args 2>.err - echo $? - test -s .err && echo "[`cat .err`]" - # Strip off all but the file names. - ls -lG * | sed 's/^..............................................//' - for f in $args; do - if test -f $f; then - # make sure the file was copied. - case "`cat $f`" in - "$contents") ;; - *) echo cp FAILED;; - esac - else - echo symlink-loop - fi - done - ) | tr '\012' ' ' - echo - ) | sed 's/ *$//' - cd .. - done - echo -done - -cat <<\EOF > $expected -1 [cp: `foo' and `symlink' are the same file] foo symlink -> foo -0 foo symlink symlink.~1~ -> foo -0 foo symlink symlink.~1~ -> foo -0 foo symlink symlink.~1~ -> foo - -1 [cp: `symlink' and `foo' are the same file] foo symlink -> foo -1 [cp: `symlink' and `foo' are the same file] foo symlink -> foo -0 foo -> foo foo.~1~ symlink -> foo symlink-loop symlink-loop -0 foo -> foo foo.~1~ symlink -> foo symlink-loop symlink-loop - -1 [cp: `foo' and `foo' are the same file] foo -1 [cp: `foo' and `foo' are the same file] foo -1 [cp: `foo' and `foo' are the same file] foo -0 foo foo.~1~ - -1 [cp: `sl1' and `sl2' are the same file] foo sl1 -> foo sl2 -> foo -0 foo sl1 -> foo sl2 sl2.~1~ -> foo -0 foo sl1 -> foo sl2 -> foo sl2.~1~ -> foo -0 foo sl1 -> foo sl2 -> foo sl2.~1~ -> foo - -EOF - -cmp $expected $actual # || cat $actual 1>&2 diff --git a/tests/date/Makefile.in b/tests/date/Makefile.in index 1ffac1f82..935e38107 100644 --- a/tests/date/Makefile.in +++ b/tests/date/Makefile.in @@ -255,6 +255,8 @@ $(srcdir)/$x-tests: $(mk_script) Test.pm mv $@.n $@ chmod 755 $@ +check: $(maint_gen) + Makefile.am: ../Makefile.am.in Test.pm $(mk_script) rm -f $@ $@t sed -n '1,/^##test-files-begin/p' $< > $@t diff --git a/tests/factor/Makefile.in b/tests/factor/Makefile.in index 7d15c8b05..91bad6eba 100644 --- a/tests/factor/Makefile.in +++ b/tests/factor/Makefile.in @@ -243,6 +243,8 @@ $(srcdir)/$x-tests: $(mk_script) Test.pm mv $@.n $@ chmod 755 $@ +check: $(maint_gen) + Makefile.am: ../Makefile.am.in Test.pm $(mk_script) rm -f $@ $@t sed -n '1,/^##test-files-begin/p' $< > $@t diff --git a/tests/test/Makefile.in b/tests/test/Makefile.in index d8da22865..41ba0c22d 100644 --- a/tests/test/Makefile.in +++ b/tests/test/Makefile.in @@ -274,6 +274,8 @@ $(srcdir)/$x-tests: $(mk_script) Test.pm mv $@.n $@ chmod 755 $@ +check: $(maint_gen) + Makefile.am: ../Makefile.am.in Test.pm $(mk_script) rm -f $@ $@t sed -n '1,/^##test-files-begin/p' $< > $@t |