Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
module_test.c File Reference

Module Tests. More...

#include "globus_common.h"
#include "globus_test_tap.h"
#include <stdio.h>
#include <string.h>

Functions

int module_test (void)
 Module test cases. More...
 

Detailed Description

Module Tests.

Function Documentation

int module_test ( void  )

Module test cases.

Test:
Use globus_module_setenv() to set a module_environment variable. Then, use globus_module_getenv() to check its value
Test:
Deactivate a non-activated module with globus_module_deactivate()
Test:
Activate GLOBUS_COMMON_MODULE with globus_module_activate()
Test:
Get a module pointer with globus_module_get_module_pointer()
Test:
Activate a module with globus_module_activate()
Test:
Activate an already active module with globus_module_activate()
Test:
Activate an already active module with globus_module_activate()
Test:
Deactivate an already active module with globus_module_deactivate(). It should remain active.
Test:
Activate an already active module with globus_module_activate()
Test:
Deactivate an already active module with globus_module_deactivate(). All modules should remain active except module1.
Test:
Deactivate an already deactivated module with globus_module_deactivate(). This should not change activate state.
Test:
Deactivate an active module with globus_module_deactivate()
Test:
Deactivate an active module with globus_module_deactivate()
Test:
Reactivate module1 with globus_module_activate()