about summary refs log tree commit homepage
path: root/t/test-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 2a81a58..29b57f7 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -50,6 +50,13 @@ require_rev() {
         fi
 }
 
+require_for_model () {
+        case $model in
+        Rev) require_rev ;;
+        Revactor) require_revactor ;;
+        esac
+}
+
 # given a list of variable names, create temporary files and assign
 # the pathnames to those variables
 rtmpfiles () {