@@ -2784,7 +2784,10 @@ def run_check():
2784
2784
expected = '\n ' .join ([
2785
2785
r' running command "git clone --depth 1 --branch tag_for_tests %(git_repo)s"' ,
2786
2786
r" \(in .*/tmp.*\)" ,
2787
- r' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"' ,
2787
+ r' running command "find testrepository -print0 -path \'*/.git\' -prune | LC_ALL=C sort --zero-terminated'
2788
+ r' | GZIP=--no-name tar --create --file /tmp/eb-dm7hbbde/eb-6lulalhw/eb-vqfy4wts/target/test.tar.gz'
2789
+ r' --no-recursion --gzip --mtime="1970-01-01 00:00Z" --owner=0 --group=0 --numeric-owner --format=gnu'
2790
+ r' --null --no-recursion --files-from -"' ,
2788
2791
r" \(in .*/tmp.*\)" ,
2789
2792
]) % git_repo
2790
2793
run_check ()
@@ -2793,7 +2796,10 @@ def run_check():
2793
2796
expected = '\n ' .join ([
2794
2797
r' running command "git clone --depth 1 --branch tag_for_tests %(git_repo)s test123"' ,
2795
2798
r" \(in .*/tmp.*\)" ,
2796
- r' running command "tar cfvz .*/target/test.tar.gz --exclude .git test123"' ,
2799
+ r' running command "find test123 -print0 -path \'*/.git\' -prune | LC_ALL=C sort --zero-terminated'
2800
+ r' | GZIP=--no-name tar --create --file /tmp/eb-ktdntga4/eb-7z7n1da5/eb-s63ey1jv/target/test.tar.gz'
2801
+ r' --no-recursion --gzip --mtime="1970-01-01 00:00Z" --owner=0 --group=0 --numeric-owner --format=gnu'
2802
+ r' --null --no-recursion --files-from -"' ,
2797
2803
r" \(in .*/tmp.*\)" ,
2798
2804
]) % git_repo
2799
2805
run_check ()
@@ -2803,7 +2809,10 @@ def run_check():
2803
2809
expected = '\n ' .join ([
2804
2810
r' running command "git clone --depth 1 --branch tag_for_tests --recursive %(git_repo)s"' ,
2805
2811
r" \(in .*/tmp.*\)" ,
2806
- r' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"' ,
2812
+ r' running command "find testrepository -print0 -path \'*/.git\' -prune | LC_ALL=C sort --zero-terminated'
2813
+ r' | GZIP=--no-name tar --create --file /tmp/eb-pjnoh7lx/eb-nxgzay98/eb-s0p413qg/target/test.tar.gz'
2814
+ r' --no-recursion --gzip --mtime="1970-01-01 00:00Z" --owner=0 --group=0 --numeric-owner --format=gnu'
2815
+ r' --null --no-recursion --files-from -"' ,
2807
2816
r" \(in .*/tmp.*\)" ,
2808
2817
]) % git_repo
2809
2818
run_check ()
@@ -2812,7 +2821,10 @@ def run_check():
2812
2821
expected = '\n ' .join ([
2813
2822
r' running command "git clone --branch tag_for_tests --recursive %(git_repo)s"' ,
2814
2823
r" \(in .*/tmp.*\)" ,
2815
- r' running command "tar cfvz .*/target/test.tar.gz testrepository"' ,
2824
+ r' running command "find testrepository -print0 | LC_ALL=C sort --zero-terminated | GZIP=--no-name tar'
2825
+ r' --create --file /tmp/eb-lmkpjxhn/eb-hciph_6r/eb-7nfb8le2/target/test.tar.gz --no-recursion --gzip'
2826
+ r' --mtime="1970-01-01 00:00Z" --owner=0 --group=0 --numeric-owner --format=gnu --null --no-recursion'
2827
+ r' --files-from -"' ,
2816
2828
r" \(in .*/tmp.*\)" ,
2817
2829
]) % git_repo
2818
2830
run_check ()
@@ -2825,7 +2837,10 @@ def run_check():
2825
2837
r" \(in .*/tmp.*\)" ,
2826
2838
r' running command "git checkout 8456f86 && git submodule update --init --recursive"' ,
2827
2839
r" \(in testrepository\)" ,
2828
- r' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"' ,
2840
+ r' running command "find testrepository -print0 -path \'*/.git\' -prune | LC_ALL=C sort --zero-terminated'
2841
+ r' | GZIP=--no-name tar --create --file /tmp/eb-94jy8omr/eb-s1dl9w7f/eb-p9cvr1s3/target/test.tar.gz'
2842
+ r ' --no-recursion --gzip --mtime="1970-01-01 00:00Z" --owner=0 --group=0 --numeric-owner --format=gnu'
2843
+ r ' --null --no-recursion --files-from -"' ,
2829
2844
r" \(in .*/tmp.*\)" ,
2830
2845
]) % git_repo
2831
2846
run_check ()
@@ -2836,7 +2851,10 @@ def run_check():
2836
2851
r" \(in .*/tmp.*\)" ,
2837
2852
r' running command "git checkout 8456f86"' ,
2838
2853
r" \(in testrepository\)" ,
2839
- r' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"' ,
2854
+ r' running command "find testrepository -print0 -path \'*/.git\' -prune | LC_ALL=C sort --zero-terminated'
2855
+ r ' | GZIP=--no-name tar --create --file /tmp/eb-2ptsipme/eb-8nwwv2uc/eb-zxrs_gk_/target/test.tar.gz'
2856
+ r ' --no-recursion --gzip --mtime="1970-01-01 00:00Z" --owner=0 --group=0 --numeric-owner --format=gnu'
2857
+ r ' --null --no-recursion --files-from -"' ,
2840
2858
r" \(in .*/tmp.*\)" ,
2841
2859
]) % git_repo
2842
2860
run_check ()
0 commit comments