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-c/test-c.pre-install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/repo1/test-c/test-c.pre-install (limited to 'test/repo1/test-c/test-c.pre-install') diff --git a/test/repo1/test-c/test-c.pre-install b/test/repo1/test-c/test-c.pre-install new file mode 100644 index 0000000..c75c644 --- /dev/null +++ b/test/repo1/test-c/test-c.pre-install @@ -0,0 +1,14 @@ +#!/bin/sh + +echo "$@" > /pre-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