changeset 7290:3d4d7ed93731

8014834: shell tests don't begin with #!/bin/sh Summary: Some shell tests don't begin with the command interpreter line Reviewed-by: alanb, ksrini
author emc
date Mon, 03 Jun 2013 10:44:10 -0400
parents 33d1376bf725
children a79e2683eae3
files test/java/util/Locale/LocaleCategory.sh test/java/util/Locale/LocaleProviders.sh test/java/util/Locale/data/deflocale.sh test/java/util/PluggableLocale/BreakIteratorProviderTest.sh test/java/util/PluggableLocale/CalendarDataProviderTest.sh test/java/util/PluggableLocale/ClasspathTest.sh test/java/util/PluggableLocale/CollatorProviderTest.sh test/java/util/PluggableLocale/CurrencyNameProviderTest.sh test/java/util/PluggableLocale/DateFormatProviderTest.sh test/java/util/PluggableLocale/DateFormatSymbolsProviderTest.sh test/java/util/PluggableLocale/DecimalFormatSymbolsProviderTest.sh test/java/util/PluggableLocale/ExecTest.sh test/java/util/PluggableLocale/GenericTest.sh test/java/util/PluggableLocale/LocaleNameProviderTest.sh test/java/util/PluggableLocale/NumberFormatProviderTest.sh test/java/util/PluggableLocale/TimeZoneNameProviderTest.sh test/java/util/ResourceBundle/Bug6299235Test.sh test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh test/sun/rmi/rmic/manifestClassPath/run.sh test/sun/rmi/rmic/newrmic/equivalence/batch.sh test/tools/launcher/MultipleJRE.sh
diffstat 21 files changed, 21 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/Locale/LocaleCategory.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/Locale/LocaleCategory.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4700857 6997928 7079486
--- a/test/java/util/Locale/LocaleProviders.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/Locale/LocaleProviders.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 6336885 7196799 7197573 7198834 8000245 8000615 8001440 8010666
--- a/test/java/util/Locale/data/deflocale.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/Locale/data/deflocale.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 #
 #
--- a/test/java/util/PluggableLocale/BreakIteratorProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/BreakIteratorProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440
--- a/test/java/util/PluggableLocale/CalendarDataProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/CalendarDataProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 7058207 8000986
--- a/test/java/util/PluggableLocale/ClasspathTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/ClasspathTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 6388652
--- a/test/java/util/PluggableLocale/CollatorProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/CollatorProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440
--- a/test/java/util/PluggableLocale/CurrencyNameProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/CurrencyNameProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440 7199750 8000997
--- a/test/java/util/PluggableLocale/DateFormatProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/DateFormatProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440 7003643
--- a/test/java/util/PluggableLocale/DateFormatSymbolsProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/DateFormatSymbolsProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440 7200341
--- a/test/java/util/PluggableLocale/DecimalFormatSymbolsProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/DecimalFormatSymbolsProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440
--- a/test/java/util/PluggableLocale/ExecTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/ExecTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 #
 #
--- a/test/java/util/PluggableLocale/GenericTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/GenericTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440
--- a/test/java/util/PluggableLocale/LocaleNameProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/LocaleNameProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440 8000273
--- a/test/java/util/PluggableLocale/NumberFormatProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/NumberFormatProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440 7003643
--- a/test/java/util/PluggableLocale/TimeZoneNameProviderTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/PluggableLocale/TimeZoneNameProviderTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # 
 # Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -20,7 +21,6 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
-#!/bin/sh
 #
 # @test
 # @bug 4052440 8003267
--- a/test/java/util/ResourceBundle/Bug6299235Test.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/java/util/ResourceBundle/Bug6299235Test.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,4 +1,4 @@
-#
+#!/bin/sh
 # Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
--- a/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -21,7 +22,6 @@
 # questions.
 #
 
-#!/bin/sh
 # @test
 # @bug 6363434 6588884
 # @summary Verify that shared memory pixmaps are not broken
--- a/test/sun/rmi/rmic/manifestClassPath/run.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/sun/rmi/rmic/manifestClassPath/run.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -21,7 +22,6 @@
 # questions.
 #
 
-#!/bin/sh
 # @test
 # @bug 6473331 6485027 6934615
 # @summary Test handling of the Class-Path attribute in jar file manifests
--- a/test/sun/rmi/rmic/newrmic/equivalence/batch.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/sun/rmi/rmic/newrmic/equivalence/batch.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 #
 # Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -21,7 +22,6 @@
 # questions.
 #
 
-#!/bin/sh
 #
 # Usage: batch.sh classpath classes...
 #
--- a/test/tools/launcher/MultipleJRE.sh	Mon Jun 03 16:13:44 2013 +0200
+++ b/test/tools/launcher/MultipleJRE.sh	Mon Jun 03 10:44:10 2013 -0400
@@ -1,3 +1,4 @@
+#!/bin/sh
 # @test MultipleJRE.sh
 # @bug 4811102 4953711 4955505 4956301 4991229 4998210 5018605 6387069 6733959
 # @build PrintVersion