Update of /cvsroot/libsysio/libsysio/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv15049/tests
Modified Files:
Tag: RedStorm
Makefile.am test_path.c
Log Message:
Updated with recent changes in HEAD branch.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/libsysio/libsysio/tests/Makefile.am,v
retrieving revision 1.8.6.4
retrieving revision 1.8.6.5
diff -u -w -b -B -p -r1.8.6.4 -r1.8.6.5
--- Makefile.am 26 Sep 2003 22:15:40 -0000 1.8.6.4
+++ Makefile.am 27 Sep 2003 20:20:41 -0000 1.8.6.5
@@ -46,13 +46,20 @@ DRIVERS=$(NATIVE_DRIVER_NAME) $(INCORE_D
CMNSRC=drv_init_all.c drv_data.c
BUILT_SOURCES=drv_data.c
+check_PROGRAMS=test_driver
+if TEST_ALPHA_ARG
+TESTS_ENVIRONMENT=IS_ALPHA=yes
+else
+TESTS_ENVIRONMENT=IS_ALPHA=no
+endif
+TESTS=test_all.pl
CFL=$(AM_CFLAGS) $(AM_CPPFLAGS) \
$(NATIVE_DRIVER_CFLAGS) $(INCORE_DRIVER_CFLAGS) \
$(STDFD_DEV_CFLAGS) $(YOD_DRIVER_CFLAGS)
LIBS=$(NATIVE_DRIVER_LIB) $(INCORE_DRIVER_LIB) \
- $(STDFD_DEV_LIB) \
+ $(STDFD_DEV_LIB) $(YOD_DRIVER_LIB) \
$(top_builddir)/src/libsysio.a
test_copy_SOURCES=test_copy.c $(CMNSRC)
Index: test_path.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/tests/test_path.c,v
retrieving revision 1.3.10.2
retrieving revision 1.3.10.3
diff -u -w -b -B -p -r1.3.10.2 -r1.3.10.3
--- test_path.c 26 Sep 2003 21:28:34 -0000 1.3.10.2
+++ test_path.c 27 Sep 2003 20:20:41 -0000 1.3.10.3
@@ -191,7 +191,7 @@ statit(const char *path)
/*
* Get file attrs.
*/
- err = stat(path, &stbuf);
+ err = lstat(path, &stbuf);
if (err) {
perror(path);
return -1;
|