<commit_before># Allocate a portno to be used for gtcm_gnp_server/gtcm_server
###################################################################
# Test of <ydb_dist/gtm_dist> env vars and how they affect how executables in ##SOURCE_PATH## are invoked
###################################################################

# Test 1 : mumps/mupip/dse/lke etc. invoked through a soft link of a different name should work
#  Invoking executable : mumps
What file: %GTM-E-FILENOTFND, File  not found
#  Invoking executable : mupip
MUPIP> #  Invoking executable : dbcertify
%GTM-E-CLIERR, No parameters specified
#  Invoking executable : dse
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : ftok

Usage:
	##SOURCE_REALPATH##/ftok [-id=<number>] <file1> <file2> ... <filen>

Reports IPC Key(s) (using id 1, or <number>) of <file1> <file2> ... <filen>

#  Invoking executable : geteuid
other
#  Invoking executable : gtcm_gnp_server
#  Invoking executable : gtcm_pkdisp
#  Invoking executable : gtcm_server
#  Invoking executable : gtcm_shmclean
If this program is used to remove shared memory from running
processes, it will cause the program to fail. Please make
sure all GTM processes have been shut down cleanly before running
this program.

Do you want to contine? (y or n)  Error while reading response from user. Exiting
#  Invoking executable : gtmsecshr
#  Invoking executable : lke
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : semstat2
##TEST_PATH##/mysemstat2:  Report information about semaphores

Usage-
	##TEST_PATH##/mysemstat2 <semid1> <semid2> ... <semidn>

information returned for each semaphore in set:
	semval		current value of semaphore
	semncnt		# of procs waiting for semval to increase
	semzcnt		# of procs waiting for semval to become zero
	sempid		PID of last proc performing operation on semaphore

# Test 2 : Copy of mumps/mupip/dse/lke etc. invoked from a directory that also contains a copy of libyottadb##TEST_SHL_SUFFIX## should work
#          Previously this would issue an IMAGENAME error for the "mumps" case. That is no longer the case
#  Invoking executable : mumps
What file: %GTM-E-FILENOTFND, File  not found
#  Invoking executable : mupip
MUPIP> #  Invoking executable : dbcertify
%GTM-E-CLIERR, No parameters specified
#  Invoking executable : dse
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : ftok

Usage:
	##TEST_PATH##/myftok [-id=<number>] <file1> <file2> ... <filen>

Reports IPC Key(s) (using id 1, or <number>) of <file1> <file2> ... <filen>

#  Invoking executable : geteuid
other
#  Invoking executable : gtcm_gnp_server
#  Invoking executable : gtcm_pkdisp
#  Invoking executable : gtcm_server
#  Invoking executable : gtcm_shmclean
If this program is used to remove shared memory from running
processes, it will cause the program to fail. Please make
sure all GTM processes have been shut down cleanly before running
this program.

Do you want to contine? (y or n)  Error while reading response from user. Exiting
#  Invoking executable : gtmsecshr
#  Invoking executable : lke
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : semstat2
##TEST_PATH##/mysemstat2:  Report information about semaphores

Usage-
	##TEST_PATH##/mysemstat2 <semid1> <semid2> ... <semidn>

information returned for each semaphore in set:
	semval		current value of semaphore
	semncnt		# of procs waiting for semval to increase
	semzcnt		# of procs waiting for semval to become zero
	sempid		PID of last proc performing operation on semaphore

# Test 3 : Copy of mumps/mupip/dse/lke etc. invoked from a directory that does not also contain a copy of libyottadb##TEST_SHL_SUFFIX## should issue DLLNOOPEN error
#          Previously this would issue a GTMDISTUNVERIF error.
#  Invoking executable : mumps
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : mupip
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : dbcertify
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : dse
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : ftok
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : geteuid
other
#  Invoking executable : gtcm_gnp_server
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : gtcm_pkdisp
#  Invoking executable : gtcm_server
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : gtcm_shmclean
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : gtmsecshr
#  Invoking executable : lke
%GTM-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%GTM-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : semstat2
##TEST_PATH##/mysemstat2:  Report information about semaphores

Usage-
	##TEST_PATH##/mysemstat2 <semid1> <semid2> ... <semidn>

information returned for each semaphore in set:
	semval		current value of semaphore
	semncnt		# of procs waiting for semval to increase
	semzcnt		# of procs waiting for semval to become zero
	sempid		PID of last proc performing operation on semaphore

# Test 4 : mumps/mupip/dse/lke etc. invoked from a current directory where they do not exist, but are found in $PATH, should work
#  Invoking executable : mumps
What file: %GTM-E-FILENOTFND, File  not found
#  Invoking executable : mupip
MUPIP> #  Invoking executable : dbcertify
%GTM-E-CLIERR, No parameters specified
#  Invoking executable : dse
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : ftok<commit_msg>[#94] Fix r120/ydbdist test failure due to changes in DLLNOOPEN error message prefix in the code (YottaDB/YottaDB#94)<commit_after># Allocate a portno to be used for gtcm_gnp_server/gtcm_server
###################################################################
# Test of <ydb_dist/gtm_dist> env vars and how they affect how executables in ##SOURCE_PATH## are invoked
###################################################################

# Test 1 : mumps/mupip/dse/lke etc. invoked through a soft link of a different name should work
#  Invoking executable : mumps
What file: %GTM-E-FILENOTFND, File  not found
#  Invoking executable : mupip
MUPIP> #  Invoking executable : dbcertify
%GTM-E-CLIERR, No parameters specified
#  Invoking executable : dse
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : ftok

Usage:
	##SOURCE_REALPATH##/ftok [-id=<number>] <file1> <file2> ... <filen>

Reports IPC Key(s) (using id 1, or <number>) of <file1> <file2> ... <filen>

#  Invoking executable : geteuid
other
#  Invoking executable : gtcm_gnp_server
#  Invoking executable : gtcm_pkdisp
#  Invoking executable : gtcm_server
#  Invoking executable : gtcm_shmclean
If this program is used to remove shared memory from running
processes, it will cause the program to fail. Please make
sure all GTM processes have been shut down cleanly before running
this program.

Do you want to contine? (y or n)  Error while reading response from user. Exiting
#  Invoking executable : gtmsecshr
#  Invoking executable : lke
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : semstat2
##TEST_PATH##/mysemstat2:  Report information about semaphores

Usage-
	##TEST_PATH##/mysemstat2 <semid1> <semid2> ... <semidn>

information returned for each semaphore in set:
	semval		current value of semaphore
	semncnt		# of procs waiting for semval to increase
	semzcnt		# of procs waiting for semval to become zero
	sempid		PID of last proc performing operation on semaphore

# Test 2 : Copy of mumps/mupip/dse/lke etc. invoked from a directory that also contains a copy of libyottadb##TEST_SHL_SUFFIX## should work
#          Previously this would issue an IMAGENAME error for the "mumps" case. That is no longer the case
#  Invoking executable : mumps
What file: %GTM-E-FILENOTFND, File  not found
#  Invoking executable : mupip
MUPIP> #  Invoking executable : dbcertify
%GTM-E-CLIERR, No parameters specified
#  Invoking executable : dse
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : ftok

Usage:
	##TEST_PATH##/myftok [-id=<number>] <file1> <file2> ... <filen>

Reports IPC Key(s) (using id 1, or <number>) of <file1> <file2> ... <filen>

#  Invoking executable : geteuid
other
#  Invoking executable : gtcm_gnp_server
#  Invoking executable : gtcm_pkdisp
#  Invoking executable : gtcm_server
#  Invoking executable : gtcm_shmclean
If this program is used to remove shared memory from running
processes, it will cause the program to fail. Please make
sure all GTM processes have been shut down cleanly before running
this program.

Do you want to contine? (y or n)  Error while reading response from user. Exiting
#  Invoking executable : gtmsecshr
#  Invoking executable : lke
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : semstat2
##TEST_PATH##/mysemstat2:  Report information about semaphores

Usage-
	##TEST_PATH##/mysemstat2 <semid1> <semid2> ... <semidn>

information returned for each semaphore in set:
	semval		current value of semaphore
	semncnt		# of procs waiting for semval to increase
	semzcnt		# of procs waiting for semval to become zero
	sempid		PID of last proc performing operation on semaphore

# Test 3 : Copy of mumps/mupip/dse/lke etc. invoked from a directory that does not also contain a copy of libyottadb##TEST_SHL_SUFFIX## should issue DLLNOOPEN error
#          Previously this would issue a GTMDISTUNVERIF error.
#  Invoking executable : mumps
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : mupip
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : dbcertify
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : dse
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : ftok
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : geteuid
other
#  Invoking executable : gtcm_gnp_server
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : gtcm_pkdisp
#  Invoking executable : gtcm_server
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : gtcm_shmclean
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : gtmsecshr
#  Invoking executable : lke
%YDB-E-DLLNOOPEN, Failed to load external dynamic library ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##
%YDB-E-TEXT, ##TEST_PATH##/libyottadb##TEST_SHL_SUFFIX##: cannot open shared object file: No such file or directory
#  Invoking executable : semstat2
##TEST_PATH##/mysemstat2:  Report information about semaphores

Usage-
	##TEST_PATH##/mysemstat2 <semid1> <semid2> ... <semidn>

information returned for each semaphore in set:
	semval		current value of semaphore
	semncnt		# of procs waiting for semval to increase
	semzcnt		# of procs waiting for semval to become zero
	sempid		PID of last proc performing operation on semaphore

# Test 4 : mumps/mupip/dse/lke etc. invoked from a current directory where they do not exist, but are found in $PATH, should work
#  Invoking executable : mumps
What file: %GTM-E-FILENOTFND, File  not found
#  Invoking executable : mupip
MUPIP> #  Invoking executable : dbcertify
%GTM-E-CLIERR, No parameters specified
#  Invoking executable : dse
%GTM-E-ZGBLDIRACC, Cannot access global directory ##TEST_PATH##/mumps.gld.  Cannot continue.
%SYSTEM-E-ENO2, No such file or directory
#  Invoking executable : ftok
{'fraction_non_alphanumeric': 0.1068193926478423, 'fraction_numerical': 0.004994672349493873, 'mean_word_length': 5.092089249492901, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '626280', 'n_tokens_mistral': 5212, 'n_tokens_neox': 5016, 'n_words': 1697}