Skip to content

d/t/unittests: add commons-io.jar to the test classpath.

This MR addresses: 1087541.

Changes:

  • add commons-io.jar to the test classpath:

Testing:

  • before change:
autopkgtest -B -U kitchensink-clojure/ -- schroot sid-amd64
...
autopkgtest [14:51:01]: test unittests: [-----------------------
Picked up JAVA_TOOL_OPTIONS: -Dkitchensink.version=foo
#'user/all-tests
Syntax error (ClassNotFoundException) compiling new at (puppetlabs/kitchensink/file.clj:131:34).
org.apache.commons.io.input.NullInputStream

Full report at:
/tmp/clojure-13683492015676689490.edn
autopkgtest [14:51:02]: test unittests: -----------------------]
autopkgtest [14:51:03]: test unittests:  - - - - - - - - - - results - - - - - - - - - -
unittests            FAIL non-zero exit status 1
autopkgtest [14:51:03]: @@@@@@@@@@@@@@@@@@@@ summary
build                PASS (superficial)
unittests            FAIL non-zero exit status 1
  • after change:
autopkgtest -B -U kitchensink-clojure/ -- schroot sid-amd64
....
autopkgtest [14:53:59]: test unittests: [-----------------------
Picked up JAVA_TOOL_OPTIONS: -Dkitchensink.version=foo
#'user/all-tests
(nil nil nil nil nil nil)

Testing puppetlabs.kitchensink.json-test

Testing puppetlabs.kitchensink.core-test

Testing puppetlabs.kitchensink.classpath-test

Testing puppetlabs.kitchensink.file-test

Ran 70 tests containing 1678 assertions.
0 failures, 0 errors.
autopkgtest [14:54:23]: test unittests: -----------------------]
autopkgtest [14:54:23]: test unittests:  - - - - - - - - - - results - - - - - - - - - -
unittests            PASS
autopkgtest [14:54:24]: @@@@@@@@@@@@@@@@@@@@ summary
build                PASS (superficial)
unittests            PASS

Merge request reports

Loading