2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 531N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 531N/A * This code is free software; you can redistribute it and/or modify it 531N/A * under the terms of the GNU General Public License version 2 only, as 531N/A * published by the Free Software Foundation. 531N/A * This code is distributed in the hope that it will be useful, but WITHOUT 531N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 531N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 531N/A * version 2 for more details (a copy is included in the LICENSE file that 531N/A * accompanied this code). 531N/A * You should have received a copy of the GNU General Public License version 531N/A * 2 along with this work; if not, write to the Free Software Foundation, 531N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 531N/A * @summary Verify that extcheck exits appropriately when invalid args are given. 531N/A * @run shell TestExtcheckArgs.sh 531N/A * Test extcheck by using Runtime.exec instead of invoking 531N/A * com.sun.tools.extcheck.Main.main, since the latter does its own 531N/A * System.exit under the conditions checked here. 531N/A //--------------------- Infrastructure --------------------------- 531N/A else return fail(x +
" not equal to " + y);}