| require File.dirname(__FILE__) + '/../test_helper' |
| |
| #--###################################################################### |
| # Copyright (c) 2006 Logica |
| # |
| # All rights reserved. This program and the accompanying materials |
| # are made available under the terms of the Eclipse Public License v1.0 |
| # which accompanies this distribution, and is available at |
| # http://www.eclipse.org/legal/epl-v10.html |
| # |
| # Contributors: |
| # |
| # Onno van der Straaten:: initial implementation |
| #++###################################################################### |
| # {Copyright (c) 2006 Logica}[link:files/COPYRIGHT.html] |
| |
| class UnzipTest < Test::Unit::TestCase |
| |
| # running tests on Windows requires UnxUtils, please see the README_FOR_APP. |
| # This test causes a runtime error if unzip is not installed |
| def test01_unzip |
| cmd = IO.popen('unzip -version', "w+") |
| cmd.close_write |
| end |
| end |