@@ -415,7 +415,7 @@ describe("BundlePusher01", () => {
415
415
416
416
await runPushTestWithError ( "__tests__/__resources__/ExampleBundle01" , true ,
417
417
"A problem occurred attempting to run 'if [ \"$(ls)\" ]; then rm -r *; fi' in remote directory '/u/ThisDoesNotExist/12345678'. " +
418
- "Problem is: The output from the remote command implied that an error occurred." ) ;
418
+ "Problem is: The output from the remote command implied that an error occurred, return code 1 ." ) ;
419
419
420
420
expect ( consoleText ) . toContain ( "Ssh command exit with non zero status" ) ;
421
421
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -434,7 +434,7 @@ describe("BundlePusher01", () => {
434
434
435
435
await runPushTestWithError ( "__tests__/__resources__/ExampleBundle01" , true ,
436
436
"A problem occurred attempting to run 'if [ \"$(ls)\" ]; then rm -r *; fi' in remote directory '/u/ThisDoesNotExist/12345678'. " +
437
- "Problem is: The output from the remote command implied that an error occurred. " ) ;
437
+ "Problem is: The output from the remote command implied that an error occurred, return code 127 " ) ;
438
438
439
439
expect ( consoleText ) . toContain ( "Injected FSUM9195 error message" ) ;
440
440
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -453,7 +453,7 @@ describe("BundlePusher01", () => {
453
453
454
454
await runPushTestWithError ( "__tests__/__resources__/ExampleBundle01" , true ,
455
455
"A problem occurred attempting to run 'if [ \"$(ls)\" ]; then rm -r *; fi' in remote directory '/u/ThisDoesNotExist/12345678'. " +
456
- "Problem is: The output from the remote command implied that an error occurred." ) ;
456
+ "Problem is: The output from the remote command implied that an error occurred, return code 1 ." ) ;
457
457
458
458
expect ( consoleText ) . toContain ( "Injected FSUM9195 and FSUM9196 error message" ) ;
459
459
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -647,7 +647,7 @@ describe("BundlePusher01", () => {
647
647
await runPushTestWithError ( "__tests__/__resources__/ExampleBundle01" , false ,
648
648
"A problem occurred attempting to run 'export PATH=\"$PATH:/usr/lpp/IBM/cnj/IBM/node-latest-os390-s390x/bin\" " +
649
649
"&& npm install' in remote directory '/u/ThisDoesNotExist/12345678'. " +
650
- "Problem is: The output from the remote command implied that an error occurred." ) ;
650
+ "Problem is: The output from the remote command implied that an error occurred, return code 1 ." ) ;
651
651
652
652
expect ( consoleText ) . toContain ( "Injected stdout error message" ) ;
653
653
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -680,7 +680,7 @@ describe("BundlePusher01", () => {
680
680
await runPushTestWithError ( "__tests__/__resources__/ExampleBundle01" , false ,
681
681
"A problem occurred attempting to run 'export PATH=\"$PATH:/usr/lpp/IBM/cnj/IBM/node-latest-os390-s390x/bin\" " +
682
682
"&& npm install' in remote directory '/u/ThisDoesNotExist/12345678'. " +
683
- "Problem is: The output from the remote command implied that an error occurred." ) ;
683
+ "Problem is: The output from the remote command implied that an error occurred, return code 1 ." ) ;
684
684
685
685
expect ( consoleText ) . toContain ( "Injected FSUM7351 not found message" ) ;
686
686
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -713,7 +713,7 @@ describe("BundlePusher01", () => {
713
713
await runPushTestWithError ( "__tests__/__resources__/ExampleBundle01" , false ,
714
714
"A problem occurred attempting to run 'export PATH=\"$PATH:/usr/lpp/IBM/cnj/IBM/node-latest-os390-s390x/bin\" " +
715
715
"&& npm install' in remote directory '/u/ThisDoesNotExist/12345678'. " +
716
- "Problem is: The output from the remote command implied that an error occurred." ) ;
716
+ "Problem is: The output from the remote command implied that an error occurred, return code 1 ." ) ;
717
717
718
718
expect ( consoleText ) . toContain ( "Injected npm ERR! Exit status 1 message" ) ;
719
719
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
0 commit comments