Fix runInBand arg ignored on Windows + Node 22 #10006
Annotations
10 errors
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/search/ds/cli.files.search.ds.integration.test.ts#L69
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 110
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/search/ds/cli.files.search.ds.integration.test.ts:69:33)
|
Integration Tests (Daemon):
packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts#L34
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:34:41
at packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:32:88)
|
Integration Tests (Daemon):
packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts#L41
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:41:41
at packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/workflows/__integration__/start/workflowStep/cli.workflows.start.workflowStep.integration.test.ts:39:77)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts#L65
expect(received).toContain(expected) // indexOf
Expected substring: "no such file or directory"
Received string: ""
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:65:63
at packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/upload/dtu/cli.files.upload.dtu.integration.test.ts:62:92)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/upload/ftds/cli.files.upload.ftds.integration.test.ts#L38
expect(received).toMatchSnapshot()
Snapshot name: `Upload file to data set should display the help 1`
- Snapshot - 176
+ Received + 0
@@ -1,182 +1,6 @@
================Z/OS FILES UPLOAD DATA SET HELP===============
-
- COMMAND NAME
- ------------
-
- file-to-data-set | ftds
-
- DESCRIPTION
- -----------
-
- Upload the contents of a file to a z/OS data set.
-
- USAGE
- -----
-
- zowe zos-files upload file-to-data-set <inputfile> <dataSetName> [options]
-
- POSITIONAL ARGUMENTS
- --------------------
-
- inputfile (string)
-
- The local file that you want to upload to a data set
-
- dataSetName (string)
-
- The name of the data set to which you want to upload the file
-
- OPTIONS
- -------
-
- --binary | -b (boolean)
-
- Data content in binary mode, which means that no data conversion is performed.
- The data transfer process returns each record as-is, without translation. No
- delimiters are added between records.
-
- --encoding | --ec (string)
-
- Data content in encoding mode, which means that data conversion is performed
- according to the encoding specified.
-
- --migrated-recall | --mr (string)
-
- The method by which migrated data set is handled. By default, a migrated data
- set is recalled synchronously. You can specify the following values: wait,
- nowait, error
-
- Default value: nowait
-
- --record | -r (boolean)
-
- Data content in record mode, which means that no data conversion is performed
- and the record length is prepended to the data. The data transfer process
- returns each line as-is, without translation. No delimiters are added between
- records. Conflicts with binary.
-
- --volume-serial | --vs (string)
-
- The volume serial (VOLSER) where the data set resides. You can use this option
- at any time. However, the VOLSER is required only when the data set is not
- cataloged on the system. A VOLSER is analogous to a drive name on a PC.
-
- --response-timeout | --rto (number)
-
- The maximum amount of time in seconds the z/OSMF Files TSO servlet should run
- before returning a response. Any request exceeding this amount of time will be
- terminated and return an error. Allowed values: 5 - 600
-
- ZOSMF CONNECTION OPTIONS
- ------------------------
-
- --host | -H (string)
-
- The z/OSMF server host name.
-
- --port | -P (number)
-
- The z/OSMF server port.
-
- Default value: 443
-
- --user | -u (string)
-
- Mainframe (z/OSMF) user name, which can be the same as your TSO login.
-
- --password | --pass | --pw (string)
-
- Mainframe (z/OSMF) password, which can be the same as your TSO password.
-
- --reject-unauthorized | --ru (boolean)
-
- Reject self-signed certificates.
-
- Default value: true
-
- --base-path | --bp (string)
-
- The base path for your API mediation layer instance. Specify this option to
- prepend the base path to all z/OSMF resources when making REST requests. Do not
- specify this option if you are not using an API mediation layer.
-
- --protocol (string)
-
- The protocol used (HTTP or HTTPS)
-
- Default value: https
- Allowed values: http, https
-
- --cert-file (local file path)
-
- The file path to a certificate file to use for authentication
-
- --cert-key-file (local file path)
-
- The file path to a certificate key file to use for authentication
-
- PROFILE OPTIONS
- ---------------
-
- --zosmf-profile | --zosmf-p (string)
-
- The name of a (zosmf) profile to load for this command execution.
-
- --base-profile | --base-p (string)
-
- The name of a (base) profile to load for this command execution.
-
- BASE CONNECTION OPTIONS
- -----------------------
-
- --token-type | --tt (string)
-
- The type of token to get and use for the API. Omit this option to use the
- default token type, which is provided by 'zowe auth login'.
-
- --token-value | --tv (
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts#L39
expect(received).toMatchSnapshot()
Snapshot name: `Download Dataset Matching should display the help 1`
- Snapshot - 8
+ Received + 1
@@ -225,13 +225,6 @@
set low level qualifier to local file extension:
$ zowe zos-files download data-sets-matching "ibmuser.public.project.*, ibmuser.project.private.*" --exclude-patterns "ibmuser.public.**.*lib" --directory project --extension-map cpgm=c,asmpgm=asm,java=java,chdr=c,jcl=jcl,cntl=jcl
================Z/OS FILES DOWNLOAD DATASET MATCHING HELP WITH RFJ===========
- {
- "success": true,
- "exitCode": 0,
- "message": "The help was constructed for command: data-sets-matching.",
- "stdout": "\n COMMAND NAME\n ------------\n\n data-sets-matching | dsm | data-set-matching\n\n DESCRIPTION\n -----------\n\n Download all data sets that match a DSLEVEL pattern (see help below). You can\n use several options to qualify which data sets will be skipped and how the\n downloaded files will be structured. Data sets that are neither physical\n sequential nor partitioned data sets (with members) will be excluded.\n\n USAGE\n -----\n\n zowe zos-files download data-sets-matching <pattern> [options]\n\n POSITIONAL ARGUMENTS\n --------------------\n\n pattern\t\t (string)\n\n The pattern or patterns to match data sets against. Also known as 'DSLEVEL'. The\n following special sequences can be used in the pattern:\n %: matches any single character\n *: matches any number of characters within a data set name qualifier (e.g.\n \"ibmuser.j*.old\" matches \"ibmuser.jcl.old\" but not \"ibmuser.jcl.very.old\")\n **: matches any number of characters within any number of data set name\n qualifiers (e.g. \"ibmuser.**.old\" matches both \"ibmuser.jcl.old\" and\n \"ibmuser.jcl.very.old\")\n However, the pattern cannot begin with any of these sequences. You can specify\n multiple patterns separated by commas, for example\n \"ibmuser.**.cntl,ibmuser.**.jcl\"\n\n OPTIONS\n -------\n\n --binary | -b (boolean)\n\n Download the file content in binary mode, which means that no data conversion is\n performed. The data transfer process returns each line as-is, without\n translation. No delimiters are added between records.\n\n --directory | -d (string)\n\n The directory to where you want to save the members. The command creates the\n directory for you when it does not already exist. By default, the command\n creates a folder structure based on the data set qualifiers. For example, the\n data set ibmuser.new.cntl's members are downloaded to ibmuser/new/cntl).\n\n --encoding | --ec (string)\n\n Download the file content with encoding mode, which means that data conversion\n is performed using the file encoding specified.\n\n --exclude-patterns | --ep (string)\n\n Exclude data sets that match these DSLEVEL patterns. Any data sets that match\n this pattern will not be downloaded.\n\n --extension | -e (string)\n\n Save the local files with a specified file extension. For example, .txt. Or \"\"\n for no extension. When no extension is specified, .txt is used as the default\n file extension.\n\n --extension-map | --em (string)\n\n Use this option to map data set names that match your pattern to the desired\n extension. A comma delimited key value pairing (e.g. \"cntl=.jcl,cpgm=.c\" to map\n the last segment of each data set (also known as the \"low level qualifier\" to\n the desired local file extension).\n\n --fail-fast | --ff (boolean)\n\n Set this option to false to continue downloading data set members if one or more\n fail.\n\n Default value: true\n\n --max-concurrent-requests | --mcr (number)\n\n Specifies the maximum number of concurrent z/OSMF REST API requests to download\n members. Increasing the value results in faster downloads. However, increasing\n the value increases resource consumption on z/OS and can be prone to errors\n caused by making too many concurrent requests. If the
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts#L45
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:45:33
at packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:42:57)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts#L62
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:62:33
at packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:18:71
at Object.<anonymous>.__awaiter (packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:14:12)
at Object.<anonymous> (packages/cli/__tests__/zosfiles/__integration__/download/dsm/cli.files.download.dsm.integration.test.ts:59:84)
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts#L37
expect(received).toMatchSnapshot()
Snapshot name: `Edit USS file should display the help 1`
- Snapshot - 156
+ Received + 0
================Z/OS FILES EDIT USS FILE HELP===============
- COMMAND NAME
- ------------
-
- uss-file | uss | uf
-
- DESCRIPTION
- -----------
-
- Edit content from a Unix System Services (USS) file with your terminal and
- default editor.
-
- USAGE
- -----
-
- zowe zos-files edit uss-file <ussFilePath> [options]
-
- POSITIONAL ARGUMENTS
- --------------------
-
- ussFilePath (string)
-
- The path of the USS file you want to edit.
-
- OPTIONS
- -------
-
- --editor | --ed (string)
-
- Editor that overrides the default editor for this file type. Set the option to
- the editor's executable file location or the program's name: ie "--editor
- notepad"
-
- --binary | -b (boolean)
-
- Transfer the file content in binary mode (no EBCDIC to ASCII conversion).
-
- --encoding | --ec (string)
-
- Transfer the file content with encoding mode, which means that data conversion
- is performed using the file encoding specified.
-
- --response-timeout | --rto (number)
-
- The maximum amount of time in seconds the z/OSMF Files TSO servlet should run
- before returning a response. Any request exceeding this amount of time will be
- terminated and return an error. Allowed values: 5 - 600
-
- ZOSMF CONNECTION OPTIONS
- ------------------------
-
- --host | -H (string)
-
- The z/OSMF server host name.
-
- --port | -P (number)
-
- The z/OSMF server port.
-
- Default value: 443
-
- --user | -u (string)
-
- Mainframe (z/OSMF) user name, which can be the same as your TSO login.
-
- --password | --pass | --pw (string)
-
- Mainframe (z/OSMF) password, which can be the same as your TSO password.
-
- --reject-unauthorized | --ru (boolean)
-
- Reject self-signed certificates.
-
- Default value: true
-
- --base-path | --bp (string)
-
- The base path for your API mediation layer instance. Specify this option to
- prepend the base path to all z/OSMF resources when making REST requests. Do not
- specify this option if you are not using an API mediation layer.
-
- --protocol (string)
-
- The protocol used (HTTP or HTTPS)
-
- Default value: https
- Allowed values: http, https
-
- --cert-file (local file path)
-
- The file path to a certificate file to use for authentication
-
- --cert-key-file (local file path)
-
- The file path to a certificate key file to use for authentication
-
- PROFILE OPTIONS
- ---------------
-
- --zosmf-profile | --zosmf-p (string)
-
- The name of a (zosmf) profile to load for this command execution.
-
- --base-profile | --base-p (string)
-
- The name of a (base) profile to load for this command execution.
-
- BASE CONNECTION OPTIONS
- -----------------------
-
- --token-type | --tt (string)
-
- The type of token to get and use for the API. Omit this option to use the
- default token type, which is provided by 'zowe auth login'.
-
- --token-value | --tv (string)
-
- The value of the token to pass to the API.
-
- GLOBAL OPTIONS
- --------------
-
- --show-inputs-only (boolean)
-
- Show command inputs and do not run the command
-
- --response-format-json | --rfj (boolean)
-
- Produce JSON formatted data from a command
-
- --help | -h (boolean)
-
- Display help text
-
- --help-web | --hw (boolean)
-
- Display HTML help in browser
-
- EXAMPLES
- --------
-
- - Edit the contents of the USS file "/a/ibmuser/my_text.txt"
- in notepad:
-
- $ zowe zos-files edit uss-file /a/ibmuser/my_text.txt --editor notepad
-
- - Edit the contents of the USS file "/a/ibmuser/my_text.txt"
- in notepad:
-
- $ zowe zos-files edit uss-file /a/ibmuser/my_text.txt --editor C:\Windows\System32\Notepad.exe
-
- - Edit the contents of the USS file "/a/ibmuser/my_jcl.jcl"
- with binary flag set:
-
-
|
Integration Tests (Daemon):
packages/cli/__tests__/zosfiles/__integration__/edit/uss/edit.uss.integration.test.ts#L45
expect(received).toMatchSnapshot()
Snapshot name: `Edit USS file should display the help in json format 1`
- Snapshot - 8
+ Received + 1
================Z/OS FILES EDIT USS FILE HELP===============
- {
- "success": true,
- "exitCode": 0,
- "message": "The help was constructed for command: uss-file.",
- "stdout": "\n COMMAND NAME\n ------------\n\n uss-file | uss | uf\n\n DESCRIPTION\n -----------\n\n Edit content from a Unix System Services (USS) file with your terminal and\n default editor.\n\n USAGE\n -----\n\n zowe zos-files edit uss-file <ussFilePath> [options]\n\n POSITIONAL ARGUMENTS\n --------------------\n\n ussFilePath\t\t (string)\n\n The path of the USS file you want to edit.\n\n OPTIONS\n -------\n\n --editor | --ed (string)\n\n Editor that overrides the default editor for this file type. Set the option to\n the editor's executable file location or the program's name: ie \"--editor\n notepad\"\n\n --binary | -b (boolean)\n\n Transfer the file content in binary mode (no EBCDIC to ASCII conversion).\n\n --encoding | --ec (string)\n\n Transfer the file content with encoding mode, which means that data conversion\n is performed using the file encoding specified.\n\n --response-timeout | --rto (number)\n\n The maximum amount of time in seconds the z/OSMF Files TSO servlet should run\n before returning a response. Any request exceeding this amount of time will be\n terminated and return an error. Allowed values: 5 - 600\n\n ZOSMF CONNECTION OPTIONS\n ------------------------\n\n --host | -H (string)\n\n The z/OSMF server host name.\n\n --port | -P (number)\n\n The z/OSMF server port.\n\n Default value: 443\n\n --user | -u (string)\n\n Mainframe (z/OSMF) user name, which can be the same as your TSO login.\n\n --password | --pass | --pw (string)\n\n Mainframe (z/OSMF) password, which can be the same as your TSO password.\n\n --reject-unauthorized | --ru (boolean)\n\n Reject self-signed certificates.\n\n Default value: true\n\n --base-path | --bp (string)\n\n The base path for your API mediation layer instance. Specify this option to\n prepend the base path to all z/OSMF resources when making REST requests. Do not\n specify this option if you are not using an API mediation layer.\n\n --protocol (string)\n\n The protocol used (HTTP or HTTPS)\n\n Default value: https\n Allowed values: http, https\n\n --cert-file (local file path)\n\n The file path to a certificate file to use for authentication\n\n --cert-key-file (local file path)\n\n The file path to a certificate key file to use for authentication\n\n PROFILE OPTIONS\n ---------------\n\n --zosmf-profile | --zosmf-p (string)\n\n The name of a (zosmf) profile to load for this command execution.\n\n --base-profile | --base-p (string)\n\n The name of a (base) profile to load for this command execution.\n\n BASE CONNECTION OPTIONS\n -----------------------\n\n --token-type | --tt (string)\n\n The type of token to get and use for the API. Omit this option to use the\n default token type, which is provided by 'zowe auth login'.\n\n --token-value | --tv (string)\n\n The value of the token to pass to the API.\n\n GLOBAL OPTIONS\n --------------\n\n --show-inputs-only (boolean)\n\n Show command inputs and do not run the command\n\n --response-format-json | --rfj (boolean)\n\n Produce JSON formatted data from a command\n\n --help | -h (boolean)\n\n Display help text\n\n --help-web | --hw (boolean)\n\n Display HTML help in browser\n\n EXAMPLES\n --------\n\n - Edit the contents of the USS file \"/a/ibmuser/my_text.txt\"\n in notepad:\n\n $ zowe zos-files edit uss-file /a/ibmuser/my_text.txt --editor notepad\n\n - Edit the contents of the USS file \"/a/ibmuser/my_text.txt\"\n in notepad:\n\n $ zowe zos-files edit uss-file /a/ibmuser/my_text.txt --editor C:\\Windows\\System32\\Notepad.exe\n\n - Edit the contents of the USS file
|
Loading