ZipSlip test fails on Mac OS 09/106209/2
authorNeil Derraugh <neil.derraugh@yoppworks.com>
Fri, 17 Apr 2020 17:35:30 +0000 (13:35 -0400)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Sun, 19 Apr 2020 07:24:10 +0000 (07:24 +0000)
commit28f3de6c698075c2282493309722c8c29e95b523
tree4a658083c65fadabc9051e6a43d78aa191932aab
parentd510e7838cace2c343d9ce5430a75455c3a846c8
ZipSlip test fails on Mac OS

Mac OS has a symlink in the tmp dir that gets created in the test for
ZipSlip.  Using real paths prevents the test test from failing by using
actual paths instead of a potentially different symlinked path to the
canonical path.

Issue-ID: SDC-2887
Signed-off-by: neil.derraugh <neil.derraugh@yoppworks.com>
Change-Id: Iafb0a84f6ab68276c5782c1ef716c59435aa72f5
common-app-api/src/test/java/org/openecomp/sdc/common/zip/ZipUtilsTest.java