]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Test macro (Bjorn)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Apr 2007 12:56:40 +0000 (12:56 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Apr 2007 12:56:40 +0000 (12:56 +0000)
ITS/testcvsKeyWords.C [new file with mode: 0644]

diff --git a/ITS/testcvsKeyWords.C b/ITS/testcvsKeyWords.C
new file mode 100644 (file)
index 0000000..8dbf76f
--- /dev/null
@@ -0,0 +1,16 @@
+void testcvsKeyWords(){
+    // This macro tests the cvs keywords Date and Revision
+    // Inputs:
+    //   none.
+    // Outputs:
+    //   none.
+    // Return:
+    //   none.
+    const Char_t *cvsDate="$Date$";
+    const Char_t *cvsRevision="$Revision$";
+    const Char_t *cvsId="$Id$";
+    Char_t string[100];
+
+    sprintf(string,"%s %s %s",cvsDate,cvsRevision,cvsId);
+    printf("%s\n",string);
+}