From 83d859286db8a184054a5e05f707953634c82604 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 15 Jun 2010 13:30:12 +0000 Subject: test: initial testsuite --- test/repo1/test-d/test-d.post-install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/repo1/test-d/test-d.post-install (limited to 'test/repo1/test-d/test-d.post-install') diff --git a/test/repo1/test-d/test-d.post-install b/test/repo1/test-d/test-d.post-install new file mode 100644 index 0000000..0e14f2a --- /dev/null +++ b/test/repo1/test-d/test-d.post-install @@ -0,0 +1,14 @@ +#!/bin/sh + +echo "$@" > /post-install + +if [ -n "$WAS_EXPORTED" ]; then + touch /was-exported +fi + +if [ -f /should-fail ]; then + exit 1 +fi + +exit 0 + -- cgit v1.2.3-60-g2f50