Commit Graph

19 Commits

Author SHA1 Message Date
David Glasser
30481e10bb Mongo 2.6 makes --nohttpinterface the default 2015-02-05 22:40:44 -08:00
David Glasser
6ea8443f30 Update calls to addFiles, onUse, and onTest 2014-12-09 20:18:31 -08:00
Emily Stark
c0f873641a Fix old cli tests for meteor build outputting directory 2014-10-23 16:00:16 -07:00
Emily Stark
8d8589714f Update old cli tests for new 'meteor remove' text 2014-10-20 22:39:44 -07:00
David Glasser
174a059904 Improve cli-test 2014-10-17 13:37:04 -07:00
Slava Kim
4d41c4c7cd Fix failing meteor build self-test 2014-10-10 14:36:43 -07:00
Emily Stark
99228d7c7b Clean up tarball in old-cli-test.
If we don't clean up the tarball, then the following command (`meteor
build`) fails ("Couldn't create tarball"), but for some reason still
exits with code 0. So we then go on to successfully untar the output of
`meteor build`. If we clean up the tarball from `meteor bundle`, we at
least catch the failure by trying to untar a nonexistent file.
2014-10-09 22:21:32 -07:00
Emily Stark
88bf4ce810 Update old cli test for meteor build. 2014-09-11 15:30:39 -07:00
David Glasser
4482427da5 make cli-tests tests 2014-08-25 12:31:37 -07:00
David Glasser
149fbe942c get old cli tests passing for me 2014-08-16 10:23:35 -07:00
ekatek
3aff2199cc fixing old cli test 2014-07-28 16:09:19 -07:00
Emily Stark
9e65038d08 Update "old cli test" for new 'meteor remove' output 2014-07-28 10:46:15 -07:00
Emily Stark
cbc12117a6 Fix pipe/grep for missing package in old cli test 2014-07-22 17:37:53 -07:00
Emily Stark
eb70a7c299 Make old cli test pass.
We might want to revisit this after polishing error messages.

Still doesn't pass with METEOR_WAREHOUSE_DIR set from self-test.
2014-07-22 14:24:17 -07:00
Felix Rabe
3431c66c16 Fix occurrences of "cd dirname $0"
They are not safe for spaces in paths. There might be other places to look for trouble.

I've run the following command to produce this commit: (on OS X, copy-and-pasting the below exactly)

    find . -type f -name '*.sh' -print0  |  # Find all .sh files
        xargs -0 fgrep -H -- '`'         |  # See all places with backticks in them
        fgrep 'cd `dirname $0'           |  # I deemed these problematic (variable assignments are safe)
        cut -d ':' -f 1                  |  # Take the <file> from <file>:<line> produced by "grep -H"
        tr '\n' '\0'                     |  # Also here, spaces can be problematic - always do "xargs -0"!
        xargs -0 -- sed -i '' 's/cd `dirname $0`/cd "`dirname "$0"`"/g'

The significance of adding the two levels of "'s can be verified by running the following in your Terminal:

    $ node -e 'console.log(process.argv.splice(1))' -- `echo 1   2`
    [ '1', '2' ]

    $ node -e 'console.log(process.argv.splice(1))' -- "`echo 1   2`"
    [ '1 2' ]

    $ node -e 'console.log(process.argv.splice(1))' -- "`echo "1   2"`"
    [ '1   2' ]
2014-05-07 17:51:09 -07:00
David Glasser
f82cc15083 comment about an env var 2014-02-06 13:45:36 -08:00
David Glasser
67bc21c0a9 pass path to node to cli-test 2014-02-06 13:30:09 -08:00
Geoff Schmidt
b7d84a93e7 Fix cli-test for new port scheme. 2014-01-29 03:35:11 -08:00
Geoff Schmidt
fd5073888a Rename 'self tests' directory to 'tests' 2014-01-28 16:00:46 -08:00