text: #include "license_pbs.h" /* See here for the software license */
  #include "lib_ifl.h"
  #include "test_pbsD_gpuctrl.h"
  #include <stdlib.h>
  #include <stdio.h>
  
  
  #include "pbs_error.h"
  
  START_TEST(test_pbs_gpumode_err)
    {
    char node[1024];
    char gpuid[5];
    sprintf(node, "napali");
    sprintf(gpuid, "1");
  
    fail_unless(pbs_gpumode_err(-1, node, gpuid, 0, NULL) == PBSE_IVALREQ);
    fail_unless(pbs_gpumode_err(PBS_NET_MAX_CONNECTIONS, node, gpuid, 0, NULL) == PBSE_IVALREQ);
    fail_unless(pbs_gpumode_err(0, NULL, gpuid, 0, NULL) == PBSE_IVALREQ);
    fail_unless(pbs_gpumode_err(0, node, NULL, 0, NULL) == PBSE_IVALREQ);
    fail_unless(pbs_gpumode_err(0, node, gpuid, -1, NULL) == PBSE_IVALREQ);
    fail_unless(pbs_gpumode_err(0, node, gpuid, 4, NULL) == PBSE_IVALREQ);
    }
  END_TEST
  
  
  START_TEST(test_two)
    {
  
  
    }
  END_TEST
  
  
  Suite *pbsD_gpuctrl_suite(void)
    {
    Suite *s = suite_create("pbsD_gpuctrl_suite methods");
    TCase *tc_core = tcase_create("test_pbs_gpumode_err");
    tcase_add_test(tc_core, test_pbs_gpumode_err);
    suite_add_tcase(s, tc_core);
  
    tc_core = tcase_create("test_two");
    tcase_add_test(tc_core, test_two);
    suite_add_tcase(s, tc_core);
  
    return s;
    }
  
  void rundebug()
    {
    }
  
  int main(void)
    {
    int number_failed = 0;
    SRunner *sr = NULL;
    rundebug();
    sr = srunner_create(pbsD_gpuctrl_suite());
    srunner_set_log(sr, "pbsD_gpuctrl_suite.log");
    srunner_run_all(sr, CK_NORMAL);
    number_failed = srunner_ntests_failed(sr);
    srunner_free(sr);
    return number_failed;
    }
  