tests: fix check for modules directory

'modules' can also be seen as a sub-directory, e.g.
./powerpc64le-linux-gnu/gio/modules/libgiolibproxy.so

(cherry picked from commit 78e8d3834a)
This commit is contained in:
Reiner Herrmann 2020-08-14 11:17:19 +02:00
parent 018a2f589a
commit 51ba949ab5

View file

@ -30,8 +30,8 @@ after 100
send -- "cd /lib; find .\r"
expect {
timeout {puts "TESTING ERROR 5\n";exit}
"/modules" {puts "TESTING ERROR 6\n";exit}
"/firmware" {puts "TESTING ERROR 7\n";exit}
"./modules" {puts "TESTING ERROR 6\n";exit}
"./firmware" {puts "TESTING ERROR 7\n";exit}
"libc.so"
}
after 100