diff options
author | Sitaram Chamarty <sitaram@atc.tcs.com> | 2012-10-27 13:20:55 +0530 |
---|---|---|
committer | Sitaram Chamarty <sitaram@atc.tcs.com> | 2012-10-27 13:20:55 +0530 |
commit | a802071a5e8880d47ced5b32231a28d3eb62a74f (patch) | |
tree | f0ccac7233d8d625924d96a66f6b156a59605d01 /t/vrefs-2.t | |
parent | (minor) bash -> sh changes in some non-core code (diff) | |
download | gitolite-gentoo-a802071a5e8880d47ced5b32231a28d3eb62a74f.tar.gz gitolite-gentoo-a802071a5e8880d47ced5b32231a28d3eb62a74f.tar.bz2 gitolite-gentoo-a802071a5e8880d47ced5b32231a28d3eb62a74f.zip |
(test suite) stop using 'ls' to test for presence/absence of files/directories
another of those "duh! what was I thinking" moments, this specific one
being "why test that files/directories are created with the right user
and group IDs? Shouldn't that be out of your control, as well as
totally unnecessary on a sane system?"
Diffstat (limited to 't/vrefs-2.t')
-rwxr-xr-x | t/vrefs-2.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/vrefs-2.t b/t/vrefs-2.t index 6c53341..40db308 100755 --- a/t/vrefs-2.t +++ b/t/vrefs-2.t @@ -9,7 +9,7 @@ use Gitolite::Test; # VREFs - part 2 # ---------------------------------------------------------------------- -try "plan 74"; +try "plan 72"; put "../gitolite-admin/conf/gitolite.conf", " \@gfoo = foo @@ -32,11 +32,11 @@ try " ADMIN_PUSH vr2a cd .. # setup - ls -al foo; !ok; /cannot access foo: No such file or directory/ + [ -d foo ]; !ok CLONE u1 foo; ok; /Cloning into/ /You appear to have cloned an empty/ cd foo; ok - ls -Al; ok; /\.git/ + [ -d .git ]; ok # u1 push 15 new files tc a b c d e f g h i j k l m n o |