[pisa-src] r1155 - in trunk/test: parsepares.c sendpareq.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 15 Oct 2009 12:14:07 +0200

Author: tjansen
Date: Thu Oct 15 12:14:06 2009
New Revision: 1155

Log:
Deprecated test code that relied on parts of pisacd deprecated in commit 1151.

Modified:
   trunk/test/parsepares.c
   trunk/test/sendpareq.c

Modified: trunk/test/parsepares.c
==============================================================================
--- trunk/test/parsepares.c     Thu Oct 15 12:05:44 2009        (r1154)
+++ trunk/test/parsepares.c     Thu Oct 15 12:14:06 2009        (r1155)
@@ -14,6 +14,7 @@
 
 int main(void)
 {
+#ifdef REMOVE_PREAUTH_CODE /* remove entire file */
        char indata[] = \
                "pisa-ares                       |192.168.4.51                  
                |0123456789abcdefghijiklmopqrstuv\r\n"
                "pisa-arer                       |192.168.4.52                  
                |0123456789abcdefghijiklmopqrstuv\r\n"
@@ -45,6 +46,7 @@
                        pbuffer,
                        outentry.token);
        }
+#endif /* REMOVE_PREAUTH_CODE */
 
        exit(EXIT_SUCCESS);
 }

Modified: trunk/test/sendpareq.c
==============================================================================
--- trunk/test/sendpareq.c      Thu Oct 15 12:05:44 2009        (r1154)
+++ trunk/test/sendpareq.c      Thu Oct 15 12:14:06 2009        (r1155)
@@ -15,6 +15,7 @@
 
 int main(int argc, char *argv[])
 {
+#ifdef REMOVE_PREAUTH_CODE /* remove entire file */
        struct sockaddr_in target_addr;
        int fd_client = -1;
        int is_running = 1;
@@ -34,6 +35,7 @@
                pisa_send_pareq(fd_client, &target_addr);
                sleep(2);
        }
+#endif /* REMOVE_PREAUTH_CODE */
 
        exit(EXIT_SUCCESS);
 }

Other related posts:

  • » [pisa-src] r1155 - in trunk/test: parsepares.c sendpareq.c - Thomas Jansen