]> gitweb.ps.run Git - ps-cgit/commit
Fix tests to work on Ubuntu (dash)
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Tue, 4 Nov 2008 19:23:41 +0000 (19:23 +0000)
committerLars Hjemli <hjemli@gmail.com>
Thu, 6 Nov 2008 18:18:09 +0000 (19:18 +0100)
commite4d2f2b042100182ff5b214fd6848b71d70fad7d
treebb5bfcf6e5f71a478e7586bd1d128aa94bfd7dbe
parentbdd4a56ad55720cde3b7b290b6b9fe4c57dc4f01
Fix tests to work on Ubuntu (dash)

The system shell (/bin/sh) on Ubuntu is dash, which aims to be a
POSIX standard shell.  In particular, dash does not implement any
of the common extensions to the standard that, say, bash and ksh
do.

Replace some non-POSIX constructs in setup.sh with more portable
and mundane code.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
tests/setup.sh