diff options
Diffstat (limited to 'src/test/shell')
-rwxr-xr-x | src/test/shell/bazel/external_integration_test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/shell/bazel/external_integration_test.sh b/src/test/shell/bazel/external_integration_test.sh index 50c04c8a7b..7b50c6a4c8 100755 --- a/src/test/shell/bazel/external_integration_test.sh +++ b/src/test/shell/bazel/external_integration_test.sh @@ -57,6 +57,11 @@ function tar_gz_up() { tar czf $repo2_zip WORKSPACE fox } +function tar_xz_up() { + repo2_zip=$TEST_TMPDIR/fox.tar.xz + tar cJf $repo2_zip WORKSPACE fox +} + # Test downloading a file from a repository. # This creates a simple repository containing: # @@ -187,6 +192,10 @@ function test_http_archive_tgz() { http_archive_helper tar_gz_up "do_symlink" } +function test_http_archive_tar_xz() { + http_archive_helper tar_xz_up "do_symlink" +} + function test_http_archive_no_server() { nc_port=$(pick_random_unused_tcp_port) || exit 1 cat > WORKSPACE <<EOF |