The ConnectSMB build will generate the following test applications and install them at /usr/local/bin/openfiles:
smbcp. See SMB Applications.test_all will run tests contained within the other test applications. The individual test applications (other than test_all) are designed to test specific functionality provided by ConnectSMB.
By default, ConnectSMB will use a persistent runtime configuration. There are preconfigured runtime templates in the config subdirectory. There are default configurations based on the first three components of the build tuple. For instance, for the build tuple linux-nodebug-smbclient-openssl-nojni, the default runtime configuration is linux-nodebug-smbclient. When the product is installed the default runtime configuration is installed as /etc/openfiles.xml.
When the ConnectSMB library is initialzed, it will look at the OPEN_FILES_HOME environment variable. If set, it will look at that path for the runtime configuration. If not set it will look at /etc/openfiles.xml.
To set the runtime configuration, execute the following prior to running the program that has linked with the ConnectSMB stack:
export OPEN_FILES_HOME=./configs/darwin_debug.xml