Make the original, command line driven, test suite build again
Change-Id: I57f0ebb5b1d13acf0809c7fa005e3556e3edb798
Reviewed-on: http://gerrit.openafs.org/4537
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
--- /dev/null
+ctest
+dtest
+itest
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
-LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
-LIBS=-lcmd -lcom_err -lafsutil
+LIBS=-lcmd $(TOP_LIBDIR)/libcom_err.a -lafsutil $(LIB_roken) $(XLIBS)
all: test
test tests: ctest dtest itest
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
-#include "cmd.h"
-#include <stdio.h>
+#include <afs/cmd.h>
static int
cproc1(struct cmd_syndesc *as, void *arock)
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
-#include "cmd.h"
-#include <stdio.h>
+#include <afs/cmd.h>
static int
cproc(struct cmd_syndesc *as, void *arock)
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
-#include "cmd.h"
-#include <stdio.h>
-#include <com_err.h>
+#include <afs/com_err.h>
+#include <afs/cmd.h>
static int
cproc1(struct cmd_syndesc *as, void *arock)
{
struct cmd_syndesc *ts;
char tline[1000];
- long tc;
+ afs_int32 tc;
char *tp;
long code;
char *tv[100];