Skip to content

Fix problems running run.sh on OSX (issue #44)

Pierre-Yves David requested to merge bitbucket/merged-pr-17 into branch/default

Created originally on Bitbucket by protochron (Dan Norris)

Was already merged in Bitbucket before import, marked as merged by the import user

Source changeset not longer availableat the time of import. Commit listwill look empty

This PR fixes issue #44 (closed) by doing a few different things:

  • Fixes the mktemp calls by providing a -t argument if it is required
  • Replaces readlink with a call to Python's os.path.abspath on non-Linux systems
  • Replaces $TESTDIR in *.t files with another variable so that we stop shadowing the same env variable that Cram provides
  • Changes Cram to use bash instead of sh

Tests now pass on OSX 10.9 and Ubuntu 12.04 w/ 2.8.1 and 2.7.2 respectively. Should work on any system that includes bash.

Merge request reports