Fix a few non-dash safe xstormy16 shell scripts.
authorJim Wilson <jimw@sifive.com>
Thu, 27 Jun 2019 01:12:55 +0000 (18:12 -0700)
committerJim Wilson <jimw@sifive.com>
Thu, 27 Jun 2019 01:12:55 +0000 (18:12 -0700)
Noticed by a customer while looking at a tangentially related problem.  The
gas testsuite for xstormy16 has two scripts that have a typo on the first
line, they are missing the !.  They also use shell syntax that doesn't work
on a system where /bin/sh is dash.  So I fixed the typo, changed the shell
to bash, and made them executable, so that they now work when run directly
even if /bin/sh is dash.

gas/
* testsuite/gas/xstormy16/allinsn.sh: Change first line to
#!/bin/bash and make it executable.
* testsuite/gas/xstormy16/gcc.sh: Likewise.

gas/ChangeLog
gas/testsuite/gas/xstormy16/allinsn.sh [changed mode: 0644->0755]
gas/testsuite/gas/xstormy16/gcc.sh [changed mode: 0644->0755]

index c1b4625cd8c1d4a282977dbda252f59c970ebbf1..5074c4b8950ecadd895054793731c5500cf9acd8 100644 (file)
@@ -1,3 +1,9 @@
+2019-06-26  Jim Wilson  <jimw@sifive.com>
+
+       * testsuite/gas/xstormy16/allinsn.sh: Change first line to
+       #!/bin/bash and make it executable.
+       * testsuite/gas/xstormy16/gcc.sh: Likewise.
+
 2019-06-26  Lili Cui  <lili.cui@intel.com>
 
        * doc/c-i386.texi: Document x/y/z instruction sufffixes in AT&T
old mode 100644 (file)
new mode 100755 (executable)
index 03828f9..feb1a19
@@ -1,4 +1,4 @@
-#/bin/sh
+#!/bin/bash
 # Generate test result data for xstormy16 GAS testing.
 # This script is machine generated.
 # It is intended to be run in the testsuite source directory.
old mode 100644 (file)
new mode 100755 (executable)
index 1eb8972..5a20f9e
@@ -1,4 +1,4 @@
-#/bin/sh
+#!/bin/bash
 # Generate test result data for xstormy16 GAS testing.
 # It is intended to be run in the testsuite source directory.
 #