diff options
Diffstat (limited to 'tests/rep-remove.test')
-rw-r--r-- | tests/rep-remove.test | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/tests/rep-remove.test b/tests/rep-remove.test index e451def..98d566f 100644 --- a/tests/rep-remove.test +++ b/tests/rep-remove.test @@ -9,23 +9,23 @@ # rep-remove # |-- extra -> stable (prerequisite) # | |-- libbar-1.1.0+1.tar.gz -# | `-- repositories +# | `-- repositories.manifest # | # |-- math -> extra (prerequisite) # | |-- libbar-1.0.0.tar.gz -# | `-- repositories +# | `-- repositories.manifest # | # |-- stable -> math (prerequisite) # | |-- libfoo-1.0.0.tar.gz -# | `-- repositories +# | `-- repositories.manifest # | # `-- testing -> stable (complement), extra (prerequisite) # | |-- libbar-2.0.0.tar.gz -# | `-- repositories +# | `-- repositories.manifest # | # `-- alpha # | |-- libbar-2.0.0.tar.gz -# | `-- repositories +# | `-- repositories.manifest # | # `-- git # `-- style-basic.git @@ -33,13 +33,19 @@ # Prepare repositories used by tests if running in the local mode. # +if ($remote != true) + cp -r $src/extra $out/extra + cp -r $src/math $out/math + cp -r $src/stable $out/stable + cp -r $src/testing $out/testing + cp -r $src/alpha $out/alpha + c = $rep_create 2>! - cp -r $src/extra $out/extra && $c $out/extra &$out/extra/packages - cp -r $src/math $out/math && $c $out/math &$out/math/packages - cp -r $src/stable $out/stable && $c $out/stable &$out/stable/packages - cp -r $src/testing $out/testing && $c $out/testing &$out/testing/packages - cp -r $src/alpha $out/alpha && $c $out/alpha &$out/alpha/packages + $c $out/extra &$out/extra/packages.manifest + $c $out/math &$out/math/packages.manifest + $c $out/stable &$out/stable/packages.manifest + $c $out/testing &$out/testing/packages.manifest + $c $out/alpha &$out/alpha/packages.manifest # Create git repositories. # |