/*
 * $Header: /home/gene/library/website/docsrc/cloop/src/RCS/test0002.c,v 395.1 2008/04/20 17:25:50 gene Exp $
 *
 * Copyright (c) 2006 Gene Michael Stover.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
 * USA
 */

/*
 * Test that CLOOP_LibStartup claims to succeed.
 * Also test that CLOOP_LibStartup & CLOOP_LibShutdown do
 * not crash.
 *
 * Only tests the command-line (i.e. unix) version of
 * CLOOP_LibStartup.
 */

#include "this.h"

int
main ()
{
  int rc = 0;

  if (CLOOP_LibStartup () == 0) {
    CLOOP_LibShutdown ();
  } else {
    printf ("\n%s:%d: CLOOP_LibStartup failed", __FILE__, __LINE__);
    rc = 15;
  }
  return rc == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}

/* --- end of file --- */
