Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sample test to check if test is skipped on fips
the test 'test-zlib-zero-byte' was added to file 'test/parallel/parallel.status' to be skipped when run in 'fips' compliant systems, using the command: ``tools/test.py --type=fips`` Output of the test run: ----- nikhil@ubi ~/node (fips-flaky) $ git status On branch fips-flaky Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: test/parallel/parallel.status no changes added to commit (use "git add" and/or "git commit -a") nikhil@ubi ~/node (fips-flaky) $ git diff diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index fda5e01..00099d8 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -19,3 +19,5 @@ test-npm-install: PASS,FLAKY [$system==freebsd] +[$type==fips] +test-zlib-zero-byte: FAIL,FLAKY nikhil@ubi ~/node (fips-flaky) $ tools/test.py --type=fips === release test-zlib-zero-byte === Path: parallel/test-zlib-zero-byte Command: out/Release/node /home/nikhil/node/test/parallel/test-zlib-zero-byte.js [05:37|% 100|+ 1852|- 1]: Done -----
- Loading branch information