]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Sun, 10 Sep 2000 13:52:42 +0000 (13:52 +0000)
committerhades <hades>
Sun, 10 Sep 2000 13:52:42 +0000 (13:52 +0000)
allParam/test/Makefile
allParam/test/mv.sh [new file with mode: 0644]

index 3ffa77b2ffd6a642cb6523e24245a169439ea723..ebd925d1ce3756d69ea09a2aff5e6085f78f71f8 100644 (file)
@@ -1,3 +1,4 @@
+TIME = time
 MV = ./mv.sh
 
 # Channel Access test
@@ -66,7 +67,7 @@ LIBS = ca file ora psql tcl
 ca_test file_test ora_test psql_test tcl_test :
        $(RM) $@_suite
        $(MAKE) $@_suite
-       time ./$@_suite > $@_protocol.txt 2>&1
+       $(TIME) ./$@_suite > $@_protocol.txt 2>&1
 
 ca_test_suite :
        $(MAKE) $(OBJS) "CFLAGS=$(CACFLAGS)"
diff --git a/allParam/test/mv.sh b/allParam/test/mv.sh
new file mode 100644 (file)
index 0000000..4142e90
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/sh
+
+prefix=$1
+
+for i in $@ ; do
+       if [ $i != $prefix ] ; then
+               mv $i $prefix$i
+       fi
+done
+