[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian, POSIX-compliant /bin/sh, and the LSB



On Oct 1,  8:56am in "Re: Debian, POSIX-co", Andrew Josey wrote:
> > Error:
> > ----------------------------------------------------------------------
> > Building/Installing test sets
> > setup_testsets.sh: 56: Syntax error: "(" unexpected
> >
> > Tests run fine when bash is substituted for ash as /bin/sh.
> >
The fix is to delete "function" on line 56


*** setup_testsets.sh.orig	Mon Oct  1 09:12:52 2001
--- setup_testsets.sh	Mon Oct  1 09:12:56 2001
***************
*** 53,59 ****
  # Useful functions

  # Run testset specific config scripts
! function run_testset_config_script()
  {
    # Test argument count
    if test $# -lt 1
--- 53,59 ----
  # Useful functions

  # Run testset specific config scripts
! run_testset_config_script()
  {
    # Test argument count
    if test $# -lt 1


I will check through the other scripts that wrap the  main test
suites.
regards
Andrew



Reply to: