Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 24 passing (571ms)
- 6 failing
- 1) Rsync: should automatically append a slash at the end of source:
- AssertionError: expected 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" foo/ test@ssh.resindevice.io:' to equal 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" "foo\\" test@ssh.resindevice.io:'
- + expected - actual
- +"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" \"foo\\\" test@ssh.resindevice.io:"
- -"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" foo/ test@ssh.resindevice.io:"
- at assertCommand (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:27:28)
- at Context.<anonymous> (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:80:3)
- at callFn (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:250:21)
- at Test.Runnable.run (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:243:7)
- at Runner.runTest (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:373:10)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:451:12
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:298:14)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:308:7
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:246:23)
- at Immediate._onImmediate (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:275:5)
- at processImmediate [as _immediateCallback] (timers.js:383:17)
- 2) Rsync: should not append a slash at the end of source is there is one already:
- AssertionError: expected 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" "foo\\/" test@ssh.resindevice.io:' to equal 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" "foo\\" test@ssh.resindevice.io:'
- + expected - actual
- +"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" \"foo\\\" test@ssh.resindevice.io:"
- -"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" \"foo\\/\" test@ssh.resindevice.io:"
- at assertCommand (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:27:28)
- at Context.<anonymous> (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:93:3)
- at callFn (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:250:21)
- at Test.Runnable.run (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:243:7)
- at Runner.runTest (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:373:10)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:451:12
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:298:14)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:308:7
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:246:23)
- at Immediate._onImmediate (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:275:5)
- at processImmediate [as _immediateCallback] (timers.js:383:17)
- 3) Rsync: should be able to set progress to true:
- AssertionError: expected 'rsync -az --progress --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" "foo\\bar\\/" test@ssh.resindevice.io:' to equal 'rsync -az --progress --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" "foo\\bar\\" test@ssh.resindevice.io:'
- + expected - actual
- +"rsync -az --progress --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" \"foo\\bar\\\" test@ssh.resindevice.io:"
- -"rsync -az --progress --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" \"foo\\bar\\/\" test@ssh.resindevice.io:"
- at assertCommand (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:27:28)
- at Context.<anonymous> (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:107:3)
- at callFn (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:250:21)
- at Test.Runnable.run (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:243:7)
- at Runner.runTest (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:373:10)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:451:12
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:298:14)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:308:7
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:246:23)
- at Immediate._onImmediate (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:275:5)
- at processImmediate [as _immediateCallback] (timers.js:383:17)
- 4) Rsync: should be able to set progress to false:
- AssertionError: expected 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" "foo\\bar\\/" test@ssh.resindevice.io:' to equal 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" "foo\\bar\\" test@ssh.resindevice.io:'
- + expected - actual
- +"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" \"foo\\bar\\\" test@ssh.resindevice.io:"
- -"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" \"foo\\bar\\/\" test@ssh.resindevice.io:"
- at assertCommand (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:27:28)
- at Context.<anonymous> (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:122:3)
- at callFn (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:250:21)
- at Test.Runnable.run (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:243:7)
- at Runner.runTest (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:373:10)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:451:12
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:298:14)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:308:7
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:246:23)
- at Immediate._onImmediate (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:275:5)
- at processImmediate [as _immediateCallback] (timers.js:383:17)
- 5) Rsync: should be able to exclute a single pattern:
- AssertionError: expected 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" --exclude=.git "foo\\bar\\/" test@ssh.resindevice.io:' to equal 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" --exclude=.git "foo\\bar\\" test@ssh.resindevice.io:'
- + expected - actual
- +"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" --exclude=.git \"foo\\bar\\\" test@ssh.resindevice.io:"
- -"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" --exclude=.git \"foo\\bar\\/\" test@ssh.resindevice.io:"
- at assertCommand (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:27:28)
- at Context.<anonymous> (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:136:3)
- at callFn (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:250:21)
- at Test.Runnable.run (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:243:7)
- at Runner.runTest (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:373:10)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:451:12
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:298:14)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:308:7
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:246:23)
- at Immediate._onImmediate (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:275:5)
- at processImmediate [as _immediateCallback] (timers.js:383:17)
- 6) Rsync: should be able to exclute a multiple patterns:
- AssertionError: expected 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" --exclude=.git --exclude=node_modules "foo\\bar\\/" test@ssh.resindevice.io:' to equal 'rsync -az --rsh="ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567" --exclude=.git --exclude=node_modules "foo\\bar\\" test@ssh.resindevice.io:'
- + expected - actual
- +"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" --exclude=.git --exclude=node_modules \"foo\\bar\\\" test@ssh.resindevice.io:"
- -"rsync -az --rsh=\"ssh -p 22 -o LogLevel=QUIET -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null test@ssh.resindevice.io rsync 1234 4567\" --exclude=.git --exclude=node_modules \"foo\\bar\\/\" test@ssh.resindevice.io:"
- at assertCommand (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:27:28)
- at Context.<anonymous> (C:\Users\Joe\GitHub\resin-sync\tests\rsync.spec.coffee:151:3)
- at callFn (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:250:21)
- at Test.Runnable.run (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runnable.js:243:7)
- at Runner.runTest (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:373:10)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:451:12
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:298:14)
- at C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:308:7
- at next (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:246:23)
- at Immediate._onImmediate (C:\Users\Joe\GitHub\resin-sync\node_modules\mocha\lib\runner.js:275:5)
- at processImmediate [as _immediateCallback] (timers.js:383:17)
- [11:39:21] 'test' errored after 1.77 s
- [11:39:21] Error in plugin 'gulp-mocha'
- Message:
- 6 tests failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement