diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-14 09:33:54 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-14 17:25:29 +0100 |
commit | 154fca16eb20023bdaafc20cb15636c12a33efb1 (patch) | |
tree | cf7daf2daa7bd853ff0c721c7360b00e4f2fd975 /tests.branching/checkout-non-aliased-repos.script | |
parent | e95f04846f5ecc82ce0c7e638756059442de8d23 (diff) | |
download | morph-154fca16eb20023bdaafc20cb15636c12a33efb1.tar.gz |
Rework the blackbox tests for bare caches.
This reworks the blackbox tests to work with the bare repository caches. For
the most part it's slight changes to error messages and tweaks to ignore the
repository caches during file listing.
Diffstat (limited to 'tests.branching/checkout-non-aliased-repos.script')
-rwxr-xr-x | tests.branching/checkout-non-aliased-repos.script | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests.branching/checkout-non-aliased-repos.script b/tests.branching/checkout-non-aliased-repos.script index 6c9ac638..75b68bea 100755 --- a/tests.branching/checkout-non-aliased-repos.script +++ b/tests.branching/checkout-non-aliased-repos.script @@ -37,6 +37,7 @@ cd "$DATADIR/workspace" echo "File tree of repo with suffix:" "$SRCDIR/scripts/list-tree" . | grep -v '/\.git/' | sed 's,/cache/gits/file_[^/]*_,/cache/gits/file_,' | + grep -v 'cache/gits/file_[^/]*/' | sed "s,${DATADIR:1},DATADIR,g" | sed "s,${TEMP_DIR:1},TEMP_DIR,g" @@ -54,6 +55,7 @@ cd "$DATADIR/workspace" echo "File tree of repo without suffix:" "$SRCDIR/scripts/list-tree" . | grep -v '/\.git/' | sed 's,/cache/gits/file_[^/]*_,/cache/gits/file_,' | + grep -v 'cache/gits/file_[^/]*/' | sed "s,${DATADIR:1},DATADIR,g" | sed "s,${TEMP_DIR:1},TEMP_DIR,g" |