GetInputDir() will return the configured variable as the environment variable ```CFENGINE_TEST_OVERRIDE_WORKDIR```is not set and the global variable ```CFWORKDIR``` is set to ```/workdir```.  Here is the test result if ```GetInputDir()``` is used:
```
14:08 r7n16.lisa.surfsara.nl:/var/tmp/bas/core/tests/unit 
root# ./generic_agent_test 
==================================================
Starting test: generic_agent_test.c
==================================================
test_resolve_absolute_input_path: Starting test
test_resolve_absolute_input_path: Test completed successfully.
test_resolve_non_anchored_base_path: Starting test
"/workdir/inputs" != "/var/cfengine/inputs"
ERROR: generic_agent_test.c:42 Failure!
test_resolve_non_anchored_base_path: Test failed.
test_resolve_relative_base_path: Starting test
test_resolve_relative_base_path: Test completed successfully.
1 out of 3 tests failed!
    test_resolve_non_anchored_base_path
```