Commit 4a957ca
committed
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
-----1 parent b4eee82 commit 4a957ca
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
0 commit comments