diff --git a/src/tests/kits/app/bmessenger/SMTarget.cpp b/src/tests/kits/app/bmessenger/SMTarget.cpp index cc47312aa5..3584e2176b 100644 --- a/src/tests/kits/app/bmessenger/SMTarget.cpp +++ b/src/tests/kits/app/bmessenger/SMTarget.cpp @@ -139,7 +139,7 @@ RemoteSMTarget::RemoteSMTarget(bool preferred) BString unescapedTestDir(BTestShell::GlobalTestDir()); unescapedTestDir.CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\'); string remoteApp(unescapedTestDir.String()); - remoteApp += "/kits/app/SMRemoteTargetApp "; + remoteApp += "/../kits/app/SMRemoteTargetApp "; remoteApp += portName; if (preferred) remoteApp += " preferred"; diff --git a/src/tests/kits/app/common/AppRunner.cpp b/src/tests/kits/app/common/AppRunner.cpp index ffcf053a47..5abd4ed1b1 100644 --- a/src/tests/kits/app/common/AppRunner.cpp +++ b/src/tests/kits/app/common/AppRunner.cpp @@ -287,7 +287,7 @@ find_test_app(const char *testApp, BString *path) if (error == B_OK) { *path = BTestShell::GlobalTestDir(); path->CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\'); - *path += "/kits/app/"; + *path += "/../kits/app/"; *path += testApp; #ifdef TEST_R5 *path += "_r5"; diff --git a/src/tests/kits/app/common/PipedAppRunner.cpp b/src/tests/kits/app/common/PipedAppRunner.cpp index 098e8fdd67..2d8d30572f 100644 --- a/src/tests/kits/app/common/PipedAppRunner.cpp +++ b/src/tests/kits/app/common/PipedAppRunner.cpp @@ -41,7 +41,7 @@ PipedAppRunner::Run(const char *command, const char *args, bool findCommand) if (findCommand) { appPath = BTestShell::GlobalTestDir(); appPath.CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\'); - appPath += "/kits/app/"; + appPath += "/../kits/app/"; appPath += command; #ifdef TEST_R5 appPath += "_r5";