Changeset 1045 for trunk/test


Ignore:
Timestamp:
Mar 27, 2010, 10:29:58 PM (11 years ago)
Author:
Peter Johansson
Message:

refs #449 making shell tests verbose as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/init.sh.in

    r1019 r1045  
    5858repo_url="file://$repo"
    5959
    60 while test $# -gt 0; do
    61     case "$1" in
    62     -v)
    63     VERBOSE=1
    64     ;;
    65     esac
    66     shift
    67 done
    68 
    69 # redirect output unless in verbose mode
    70 test -z "$VERBOSE" && exec > /dev/null;
    71 
    7260me=$0
    7361
     
    9179echo "=== running $me ==="
    9280
    93 # turn on trace in verbose mode
    94 if test -n "$VERBOSE"; then
    95   set -x;
    96 fi
    97 
     81# turn on trace
     82set -x;
Note: See TracChangeset for help on using the changeset viewer.