aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2019-06-26 18:12:55 -0700
committerJim Wilson <jimw@sifive.com>2019-06-26 18:12:55 -0700
commit65bd27298d31c6733b68d0cd6b7a4fc26e0598be (patch)
tree21ab1c6688bbf0ff176522d37fb9da4f30750407 /gas
parentd7560e2df501c7da1b0e4e64116dd52fe5715a96 (diff)
downloadgdb-65bd27298d31c6733b68d0cd6b7a4fc26e0598be.zip
gdb-65bd27298d31c6733b68d0cd6b7a4fc26e0598be.tar.gz
gdb-65bd27298d31c6733b68d0cd6b7a4fc26e0598be.tar.bz2
Fix a few non-dash safe xstormy16 shell scripts.
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rwxr-xr-x[-rw-r--r--]gas/testsuite/gas/xstormy16/allinsn.sh2
-rwxr-xr-x[-rw-r--r--]gas/testsuite/gas/xstormy16/gcc.sh2
3 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c1b4625..5074c4b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/testsuite/gas/xstormy16/allinsn.sh b/gas/testsuite/gas/xstormy16/allinsn.sh
index 03828f9..feb1a19 100644..100755
--- a/gas/testsuite/gas/xstormy16/allinsn.sh
+++ b/gas/testsuite/gas/xstormy16/allinsn.sh
@@ -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.
diff --git a/gas/testsuite/gas/xstormy16/gcc.sh b/gas/testsuite/gas/xstormy16/gcc.sh
index 1eb8972..5a20f9e 100644..100755
--- a/gas/testsuite/gas/xstormy16/gcc.sh
+++ b/gas/testsuite/gas/xstormy16/gcc.sh
@@ -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.
#