diff options
author | Patrik Nyblom <[email protected]> | 2010-06-02 15:54:15 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-06-02 15:54:15 +0200 |
commit | 5f1628d70b210424a8d83f89c707815059c6710b (patch) | |
tree | 6bdebbcfcb351ffb437b36d85b61cd63fd43d362 /lib/kernel/test | |
parent | 012e340d83e34200705200c5fafd55ee990c1795 (diff) | |
download | otp-5f1628d70b210424a8d83f89c707815059c6710b.tar.gz otp-5f1628d70b210424a8d83f89c707815059c6710b.tar.bz2 otp-5f1628d70b210424a8d83f89c707815059c6710b.zip |
Teach os.erl to find executable names with extension (i.e. .exe) on windows
Diffstat (limited to 'lib/kernel/test')
-rw-r--r-- | lib/kernel/test/os_SUITE.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/kernel/test/os_SUITE.erl b/lib/kernel/test/os_SUITE.erl index 6a3534b094..ace9501d18 100644 --- a/lib/kernel/test/os_SUITE.erl +++ b/lib/kernel/test/os_SUITE.erl @@ -137,6 +137,13 @@ find_executable(Config) when is_list(Config) -> ?line find_exe(Abin, "my_ar", ".exe", Path), ?line find_exe(Abin, "my_ascii", ".com", Path), ?line find_exe(Abin, "my_adb", ".bat", Path), + %% OTP-3626 find names of executables given with extension + ?line find_exe(Abin, "my_ar.exe", "", Path), + ?line find_exe(Abin, "my_ascii.com", "", Path), + ?line find_exe(Abin, "my_adb.bat", "", Path), + ?line find_exe(Abin, "my_ar.EXE", "", Path), + ?line find_exe(Abin, "my_ascii.COM", "", Path), + ?line find_exe(Abin, "MY_ADB.BAT", "", Path), %% Search for programs in Abin (second element in PATH). ?line find_exe(Abin, "my_ar", ".exe", Path), |