]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Clean up gdb/contrib/expect-read1.sh
authorTom de Vries <tdevries@suse.de>
Sat, 15 Jun 2024 06:10:44 +0000 (08:10 +0200)
committerTom de Vries <tdevries@suse.de>
Sat, 15 Jun 2024 06:10:44 +0000 (08:10 +0200)
commit486df2b7c88e3a08d3d799b1595b5fd0dce41d6f
tree9c09f909e3a8c4c7807e1720d03d2e011b43a0be
parentf2869f51b2ee7fc9357c2030add11435d7f1beef
[gdb/testsuite] Clean up gdb/contrib/expect-read1.sh

Clean up script gdb/contrib/expect-read1.sh by:
- fixing shellcheck warnings,
- using mktemp (which takes TMPDIR into account) instead of a hardcoded
  "/tmp/expect-read1.$$.so",
- adding comments, and
- adding emacs / vi settings for local tab size 2 (copied from ./ltmain.sh).

Tested on x86_64-linux.

Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/contrib/expect-read1.sh