Skip to content

Commit 4a957ca

Browse files
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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/parallel.status

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ test-npm-install: PASS,FLAKY
1919

2020
[$system==freebsd]
2121

22+
[$type==fips]
23+
test-zlib-zero-byte: FAIL,FLAKY

0 commit comments

Comments
 (0)