summaryrefslogtreecommitdiff
path: root/test/withrepo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/withrepo.lua')
-rw-r--r--test/withrepo.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/withrepo.lua b/test/withrepo.lua
index 2343fae..bf90b0c 100644
--- a/test/withrepo.lua
+++ b/test/withrepo.lua
@@ -11,3 +11,8 @@ function xpcall(fn, tb)
os.execute("rm -rf test/test_repo")
return ok, msg
end
+
+function test_repo()
+ os.execute("sh test/create_test_repo.sh")
+ return assert(require("gall.repository").new "test/test_repo")
+end \ No newline at end of file