summaryrefslogtreecommitdiff
path: root/test/test_grabbag.sh
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-11-27 13:03:13 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-11-27 13:12:17 +1100
commit1a7c3fa488694d19535b2c9c59ae245db64a9778 (patch)
treefc905777d5e232d3f2c212de4e62c6c90c79766a /test/test_grabbag.sh
parentfe494d2dc28f246def589888ec8600d01ad1970e (diff)
downloadflac-1a7c3fa488694d19535b2c9c59ae245db64a9778.tar.gz
tests/*.sh : Switch back to /bin/sh.
Jan Stary reported that on OpenBSD bash isn't located in /bin/ which means that the test fail. He also noted that there didn't seem to be anything bash specific in the tests. This patch takes some suggestions from Jan, plus a few fixes tested on Debian using the bin/sh provided by bash and dash. Suggested-by: Jan Stary <hans@stare.cz>
Diffstat (limited to 'test/test_grabbag.sh')
-rwxr-xr-xtest/test_grabbag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_grabbag.sh b/test/test_grabbag.sh
index aa77c83e..5156a268 100755
--- a/test/test_grabbag.sh
+++ b/test/test_grabbag.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e
# FLAC - Free Lossless Audio Codec
# Copyright (C) 2001-2009 Josh Coalson
@@ -18,7 +18,7 @@
# restrictive of those mentioned above. See the file COPYING.Xiph in this
# distribution.
-source common.sh
+. ./common.sh
PATH=../src/test_grabbag/cuesheet:$PATH
PATH=../src/test_grabbag/picture:$PATH