From 256eeab7112da2d5fe1629ffb8b86640a894ee6d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 4 May 2004 12:15:30 +0000 Subject: * Allow the location of the store etc. to be specified using environment variables. * Started adding some automatic tests. * Do a `make check' when building RPMs. --- tests/simple.builder.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/simple.builder.sh (limited to 'tests/simple.builder.sh') diff --git a/tests/simple.builder.sh b/tests/simple.builder.sh new file mode 100644 index 000000000000..dcd9bdb64ad0 --- /dev/null +++ b/tests/simple.builder.sh @@ -0,0 +1,11 @@ +echo "PATH=$PATH" + +# Verify that the PATH is empty. +if mkdir foo; then exit 1; fi + +# Set a PATH (!!! impure). +export PATH=/bin:/usr/bin:$PATH + +mkdir $out + +echo "Hello World!" > $out/hello \ No newline at end of file -- cgit 1.4.1