summaryrefslogtreecommitdiffstats
path: root/distribution/reservesys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/reservesys/Makefile')
-rw-r--r--distribution/reservesys/Makefile27
1 files changed, 22 insertions, 5 deletions
diff --git a/distribution/reservesys/Makefile b/distribution/reservesys/Makefile
index 014b0d7..568db1e 100644
--- a/distribution/reservesys/Makefile
+++ b/distribution/reservesys/Makefile
@@ -2,12 +2,15 @@
include /usr/share/rhts/lib/rhts-make.include
# The toplevel namespace within which the test lives.
-TOPLEVEL_NAMESPACE=/restraint
+TOPLEVEL_NAMESPACE=/distribution
# The path of the test below the package:
RELATIVE_PATH=reservesys
-export TESTVERSION=4.0
+# Preserve the RPM name from the old repo location:
+export RHTS_RPM_NAME=beaker-distribution-reservesys
+
+export TESTVERSION=3.4
export TEST=$(TOPLEVEL_NAMESPACE)/$(RELATIVE_PATH)
@@ -17,22 +20,36 @@ METADATA=testinfo.desc
BUILT_FILES=$(METADATA)
FILES=$(BUILT_FILES) \
- reservesys.sh \
+ metadata \
+ reservesys.sh \
+ runtest.sh \
recipe_status \
- metadata
+ Makefile
+
+build: $(BUILT_FILES)
+ chmod a+x ./runtest.sh ./recipe_status
clean:
rm -rf ./mnt
rm -f *~ $(BUILT_FILES)
+ rm -f rhts-rh-tests-distribution-install*.noarch.rpm
+
+run: build
+ ./runtest.sh
# Generate the testinfo.desc here:
$(METADATA): Makefile
@touch $(METADATA)
- @echo "Owner: Bill Peck <bpeck@redhat.com>" > $(METADATA)
+ @echo "Owner: Beaker Developers <beaker-devel@lists.fedorahosted.org>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Description: Reserves system for specific time frame" >> $(METADATA)
@echo "TestTime: 24h" >> $(METADATA)
@echo "Priority: Manual" >> $(METADATA)
+ @echo "Requires: emacs" >> $(METADATA)
+ @echo "Requires: vim-enhanced" >> $(METADATA)
+ @echo "Requires: sendmail" >> $(METADATA)
+ @echo "Requires: psmisc" >> $(METADATA)
@echo "License: GPLv2+" >> $(METADATA)
+ @echo "RhtsOptions: -Compatible -CompatService" >> $(METADATA)