[gdb/testsuite] Stabilize gdb-caching-proc.exp test order
authorTom de Vries <tdevries@suse.de>
Wed, 21 Aug 2019 09:49:33 +0000 (11:49 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 21 Aug 2019 09:49:33 +0000 (11:49 +0200)
commit61f80d5dafebdb3a2cebac489803c5ce18827178
treecbbd1a9f58ea6171d868d708a7cb17310c523c67
parentb068c22c2a408dca726f22428a8afedf07368d65
[gdb/testsuite] Stabilize gdb-caching-proc.exp test order

The test-case gdb-caching-proc.exp tests each gdb_caching_proc in
gdb/testsuite/lib/*.exp.  However, the order of .exp file being tested can
change from run to run, because of using glob.

Fix this by sorting the glob result.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2019-08-21  Tom de Vries  <tdevries@suse.de>

* gdb.base/gdb-caching-proc.exp: Sort files.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gdb-caching-proc.exp