Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Testing quickJS via configmgr #489

Open
wants to merge 6 commits into
base: v3.x/staging
Choose a base branch
from

Conversation

Martin-Zeithaml
Copy link
Contributor

Quick JS test for "zowe" functions.

  1. Run with ./zowe-common-c/build/build_cmgr_xlclang.sh --test
  2. Run from ./zowe-common-c/tests/quickJS/run_test.sh [optional parameter]
/martin/zowe-common-c/tests/quickJS: ./run_test.sh
��/��ʀ�/�%������ǀ���>?�����DUMMY TEST: zos.changeTag(./)=-1
DUMMY TEST: zos.changeExtAttr(./)=0
DUMMY TEST: zos.changeStreamCCSID(./)=0
DUMMY TEST: zos.zstat(./testLib/testZos.js)=[{"dev":2451,"ino":49431,"mode":50332068,"nlink":1,"uid":110000020,"gid":1,"rdev":0,"size":3931,"blocks":8,"atime":1727182195000,"mtime":1727182104000,"ctime":1727182104000,"extattrs":0,"isText":true,"ccsid":1047},0]
zos.getZosVersion()=16974080=hex(0x1030100)
zos.getEsms()=TSS
DUMMY TEST: zos.zstat(SYS1.MACLIB)={"datasets":[{"dsn":"SYS1.MACLIB","entryType":"A"}]}
zos.resolveSymbol('&YYMMDD')=240924 -> 240924
zos.resolveSymbol(undefined)=
zos.resolveSymbol(null)=
zos.resolveSymbol()=
zos.resolveSymbol(YYMMDD)=
zos.resolveSymbol( &)=
zos.resolveSymbol(a,b)=
zos.resolveSymbol(& UNDEFINED SYMBOL !@#$%^&*())=& UNDEFINED SYMBOL !@#$%^&*()
zos.getStatvfs(./)=0
Stats={"bsize":1024,"blocks":4096080,"bavail":2072183,"fsid":2451,"flag":0,"frsize":1024,"bfree":2072183,"files":4294967295,"ffree":4294924003,"favail":4294924003,"namemax":255,"OEmaxfilesizehw":1023,"OEmaxfilesizelw":-1024,"OEusedspace":2023897,"OEinvarsec":0}
zos.getStatvfs(/)=0
Stats={"bsize":1024,"blocks":3600,"bavail":3275,"fsid":1,"flag":1,"frsize":1024,"bfree":3275,"files":4294967295,"ffree":4294967243,"favail":4294967243,"namemax":255,"OEmaxfilesizehw":1023,"OEmaxfilesizelw":-1024,"OEusedspace":325,"OEinvarsec":0}
zos.getStatvfs(/bin/)=0
Stats={"bsize":1024,"blocks":3954960,"bavail":159562,"fsid":2,"flag":1,"frsize":1024,"bfree":159562,"files":4294967295,"ffree":4294940191,"favail":4294940191,"namemax":255,"OEmaxfilesizehw":1023,"OEmaxfilesizelw":-1024,"OEusedspace":3795398,"OEinvarsec":0}
zos.getStatvfs()=129
zos.getStatvfs(/aaaaaaaaaaaaaaaaaaaaaaaaaaaaa)=129
zos.getStatvfs(a,3.14)=129
zos.getStatvfs([object Object])=129
zos.getStatvfs(null)=129
zos.getStatvfs(true)=129
zos.getStatvfs(false)=129
zos.getStatvfs(undefined)=129
zos.getStatvfs(0)=129
zos.getStatvfs(-1)=129
zos.getStatvfs(800)=129

-----------------------------------------------------
1 error detected in 24 tests, review the test output.
-----------------------------------------------------

Signed-off-by: Martin Zeithaml <[email protected]>
Signed-off-by: Martin Zeithaml <[email protected]>
Signed-off-by: Martin Zeithaml <[email protected]>
Signed-off-by: Martin Zeithaml <[email protected]>
Copy link
Contributor

@JoeNemo JoeNemo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@JoeNemo
Copy link
Contributor

JoeNemo commented Sep 25, 2024

It would be good have this added to automation. @struga0258

Signed-off-by: Martin Zeithaml <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants