]> granicus.if.org Git - libevent/commitdiff
make it work with more shells
authorNiels Provos <provos@gmail.com>
Sun, 5 Oct 2003 22:02:49 +0000 (22:02 +0000)
committerNiels Provos <provos@gmail.com>
Sun, 5 Oct 2003 22:02:49 +0000 (22:02 +0000)
svn:r86

test/test.sh

index a79d0cc9ff61f4788f27d69abe45820163a0ea86..f76dc2a7048a4d671474d594ac3da21a632131f6 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh
-function setup {
+
+setup () {
         export EVENT_NOKQUEUE=yes
         export EVENT_NOPOLL=yes
         export EVENT_NOSELECT=yes
@@ -7,7 +8,7 @@ function setup {
         export EVENT_NORTSIG=yes
 }
 
-function test {
+test () {
        if ! ./test-init 2>/dev/null ;
        then
                echo Skipping test