After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604798 - tests/fail.sh and tests/tools.sh.in use bashisms
tests/fail.sh and tests/tools.sh.in use bashisms
Status: VERIFIED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other opensolaris
: Normal normal
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-17 06:32 UTC by David Adam
Modified: 2009-12-21 04:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Adam 2009-12-17 06:32:19 UTC
On OpenSolaris, fail.sh and tools.sh do not pass because the Solaris sh does not implement the $((expression)) arithmetic syntax; this is a bash-specific tool.

See http://build.gnome.org/builders/gtk-doc-opensol-gcc/builds/155/steps/gtk-doc%20check/logs/stdio

This can be corrected with
-#!/bin/sh
+#!/bin/bash
on tests/fail.sh and tests/tools.sh.in
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2009-12-17 20:22:08 UTC
Thanks!

commit 1b4b053f9cfe9f146d6d57ddc9f59376fd3dde33
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Thu Dec 17 22:20:18 2009 +0200

    tests: use bash instead of sh as this uses $((expression). Fixes #604798
    
    sh does not support that feature.