contrib/gcc-test-suite/default.cfg
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 1965 e3d532dd8b5d
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
     1 # Default test suite configuration
     2 
     3 # Default DejaGnu configuration
     4 DG_TOOLNAME = gcc
     5 DG_TARGET_HOSTNAME = 127.0.0.1
     6 DG_TARGET_USERNAME = root
     7 
     8 # Default tests
     9 DG_C_TESTS = 
    10 DG_CPP_TESTS =