OpenJDK / portola / portola
changeset 17933:b18cda672b79
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
line wrap: on
line diff
--- a/jdk/test/java/util/Locale/LocaleCategory.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/Locale/LocaleProviders.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/Locale/data/deflocale.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/BreakIteratorProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/CalendarDataProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/ClasspathTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/CollatorProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/CurrencyNameProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/DateFormatProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/DateFormatSymbolsProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/DecimalFormatSymbolsProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/ExecTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/GenericTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/LocaleNameProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/NumberFormatProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/PluggableLocale/TimeZoneNameProviderTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/java/util/ResourceBundle/Bug6299235Test.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/sun/rmi/rmic/manifestClassPath/run.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/sun/rmi/rmic/newrmic/equivalence/batch.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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/jdk/test/tools/launcher/MultipleJRE.sh Mon Jun 03 16:13:44 2013 +0200 +++ b/jdk/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