mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 17:45:24 +02:00
Linux file tests: Add note for bug 168596, make test file name harder
This commit is contained in:
parent
bb350271d1
commit
d31c468dbd
1 changed files with 5 additions and 5 deletions
|
@ -72,11 +72,11 @@ public class FileServiceTest extends RSEBaseConnectionTestCase {
|
||||||
public String getTestFileName() {
|
public String getTestFileName() {
|
||||||
//Return a filename for testing that exposes all characters valid on the file system
|
//Return a filename for testing that exposes all characters valid on the file system
|
||||||
if (!isWindows()) {
|
if (!isWindows()) {
|
||||||
//UNIX
|
//UNIX TODO: test embedded newlines
|
||||||
return "a !@#${a}\"\' file%^&*()?_ =[]+-';:,.|<>"; //$NON-NLS-1$
|
return "a !@#${a}\"\' fi\tle\b\\%^&*()?_ =[]~+-'`;:,.|<>"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
//Fallback: Windows
|
//Fallback: Windows TODO: test unicode
|
||||||
return "a !@#${a}' file%^&()_ =[]+-;,."; //$NON-NLS-1$
|
return "a !@#${a}'` file%^&()_ =[]~+-;,."; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testCaseSensitive() {
|
public void testCaseSensitive() {
|
||||||
|
@ -86,7 +86,7 @@ public class FileServiceTest extends RSEBaseConnectionTestCase {
|
||||||
assertFalse(fs.isCaseSensitive()); //FAIL due to bug 168586
|
assertFalse(fs.isCaseSensitive()); //FAIL due to bug 168586
|
||||||
} else {
|
} else {
|
||||||
assertTrue(fss.getSubSystemConfiguration().isCaseSensitive());
|
assertTrue(fss.getSubSystemConfiguration().isCaseSensitive());
|
||||||
assertTrue(fss.isCaseSensitive());
|
assertTrue(fss.isCaseSensitive()); //FAIL due to bug 168596
|
||||||
assertTrue(fs.isCaseSensitive());
|
assertTrue(fs.isCaseSensitive());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue