   historyFile = path.join __dirname, 'coffee_history_test'
   process.on 'exit', -> fs.unlinkSync historyFile
 
-  testRepl = (desc, fn) ->
+  testRepl = (desc, fn, testFn = test) ->
     input = new MockInputStream
     output = new MockOutputStream
     repl = Repl.start {input, output, historyFile}
-    test desc, -> fn input, output, repl
+    testFn desc, -> fn input, output, repl
     repl.emit 'exit'
+
+  testRepl.skip = (desc, fn) -> testRepl desc, fn, test.skip
 
   ctrlV = { ctrl: true, name: 'v'}
 

    input.emitLine '.history'
    eq (history.reverse().join '\n'), output.lastWrite 1

  testRepl '.clear clears history', (input, output, repl) ->
    input = new MockInputStream
    output = new MockOutputStream
    fs.writeFileSync historyFile, ''

    repl = Repl.start {input, output, historyFile}
    arrayEq ['1', '0'], repl.rli.history

  testRepl.skip 'writes history to persistence file', (input, output, repl) -> # Fails in node <= 0.8.
    fs.writeFileSync historyFile, ''
    input.emitLine '2'
    input.emitLine '3'
