Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352641 - sci-libs/cblas-reference-20030223-r5 test suite /bin/sh fails with "Bad substitution" on FreeBSD
Summary: sci-libs/cblas-reference-20030223-r5 test suite /bin/sh fails with "Bad subst...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 23:08 UTC by Johan Hattne
Modified: 2019-10-11 17:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Hattne 2011-01-24 23:08:59 UTC
The test suite of sci-libs/cblas-reference-20030223-r5 fails on FreeBSD because the testing/cblas-tests.sh script assumes /bin/sh can do bash-like substitutions.

Reproducible: Always

Steps to Reproduce:
1. ebuild /usr/portage/sci-libs/cblas-reference/cblas-reference-20030223-r5.ebuild test

Actual Results:  
 END OF TESTS
PASS: cblas_tests
=============
1 test passed
=============

Expected Results:  
./cblas_tests: ${t:1...}: Bad substitution
FAIL: cblas_tests
==================================
1 of 1 test failed
Please report to lapack@cs.utk.edu
==================================

The proposed solution is to change the shebang from /bin/sh to /bin/bash.
Comment 1 Alexis Ballier gentoo-dev 2012-05-25 16:41:49 UTC
should fail in the same way with /bin/sh set as dash, reassigning
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-11 17:37:22 UTC
*-fbsd is gone.