From 51ba949ab59010d9229bc049bab57c6fc7414b62 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Fri, 14 Aug 2020 11:17:19 +0200 Subject: 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 78e8d3834a6bab67dcfb9fd8998ee81f64c797f9) --- test/fs/private-lib.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fs/private-lib.exp b/test/fs/private-lib.exp index 129fa5b98..21093e119 100755 --- a/test/fs/private-lib.exp +++ b/test/fs/private-lib.exp @@ -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 -- cgit v1.2.3-54-g00ecf