~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/test_fn.c

  • Committer: Brian Aker
  • Date: 2008-07-16 01:30:24 UTC
  • Revision ID: brian@tangent.org-20080716013024-nmnogwdpa459jrch
First pass of cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
  "/../usr/my/srclib/dbug",
40
40
  "c/../my",
41
41
  "/c/../my",
42
 
  NULL,
 
42
  NullS,
43
43
};
44
44
 
45
45
int main(int argc __attribute__((unused)), char **argv)
46
46
{
47
47
  const char **pos;
48
48
  char buff[FN_REFLEN],buff2[FN_REFLEN];
 
49
  DBUG_ENTER ("main");
 
50
  DBUG_PROCESS (argv[0]);
49
51
  MY_INIT(argv[0]);
50
52
 
 
53
  if (argv[1] && argv[1][1] == '#')
 
54
    DBUG_PUSH(argv[1]+2);
 
55
 
51
56
  for (pos=test_names; *pos ; pos++)
52
57
  {
53
58
    printf("org :   '%s'\n",*pos);
60
65
    }
61
66
    puts("");
62
67
  }
63
 
  return(0);
 
68
  DBUG_RETURN(0);
64
69
}