summaryrefslogtreecommitdiff
path: root/git.liw.fi.sh
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-08-27 21:09:36 +0100
committerLars Wirzenius <liw@liw.fi>2014-08-27 21:09:36 +0100
commit70091d85b6890a2fec69829c044a26155afb4941 (patch)
tree01b46c499cd2c08acd788f5e60a71bd5ced08563 /git.liw.fi.sh
parent82aa296b684f820a63a1f459435728fea6fb21e3 (diff)
downloadliw-gitano-acl-test-suite-master.tar.gz
Add tests for per-repo groupsHEADmaster
Diffstat (limited to 'git.liw.fi.sh')
-rw-r--r--git.liw.fi.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/git.liw.fi.sh b/git.liw.fi.sh
index d7df0b5..fca4bc3 100644
--- a/git.liw.fi.sh
+++ b/git.liw.fi.sh
@@ -92,6 +92,29 @@ user_del()
}
+# Create a group on the server.
+
+group_add()
+{
+ run_gitano_as "$1" group add "$2" group for testing
+}
+
+
+# Add a user to a group.
+
+group_adduser()
+{
+ run_gitano_as "$1" group adduser "$2" "$3"
+}
+
+# Remove a group.
+
+group_del()
+{
+ two_step run_gitano_as "$1" group del "$2"
+}
+
+
# Does a repository exist?
repo_exists()