~bzr/ubuntu/hardy/subunit/bzr-ppa

« back to all changes in this revision

Viewing changes to shell/tests/test_source_library.sh

  • Committer: Robert Collins
  • Date: 2009-09-20 02:16:29 UTC
  • mfrom: (73.1.11 debian)
  • Revision ID: robertc@robertcollins.net-20090920021629-r3mal3003qren1or
Merge 0.0.2 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
  echo "output: $found_type"
95
95
  echo ']' ;
96
96
fi
 
97
 
 
98
# we should have a skip_test function
 
99
echo 'test: subunit_skip_test exists'
 
100
found_type=$(type -t subunit_skip_test)
 
101
status=$?
 
102
if [ $status == 0 -a "x$found_type" = "xfunction" ]; then
 
103
  echo 'success: subunit_skip_test exists'
 
104
else
 
105
  echo 'failure: subunit_skip_test exists ['
 
106
  echo 'subunit_skip_test is not a function:'
 
107
  echo "type -t status: $status"
 
108
  echo "output: $found_type"
 
109
  echo ']' ;
 
110
fi
 
111