aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-06-17 17:24:33 +0200
committerThomas White <taw@physics.org>2022-06-20 16:56:12 +0200
commit60df21975c5cbac190bf1e7b4d2e6627f1685dcf (patch)
tree2e0b942bc888a574fee1432953a796bd4df40289 /tests
parent889ed82d2e9d37f59e6872401eea4fed78265ab5 (diff)
tests/file-wait: Use older type of function definition
The definition with the "function" keyword doesn't work on plain 'sh'.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/file-wait2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file-wait b/tests/file-wait
index 69c11c90..22e86f52 100755
--- a/tests/file-wait
+++ b/tests/file-wait
@@ -4,7 +4,7 @@ INDEXAMAJIG=$1
INFILE=$2
GEOM=$3
-function make_link {
+make_link() {
sleep 5
ln -s $INFILE file_wait_input.h5
}