replace / by filesep in 14710 test 32/18832/2
Antoine ELIAS [Tue, 3 Jan 2017 11:42:12 +0000 (12:42 +0100)]
Change-Id: If34ce4e0976504b45319b45a909b7e7a0faea4dc

scilab/modules/fileio/tests/nonreg_tests/bug_14710.dia.ref
scilab/modules/fileio/tests/nonreg_tests/bug_14710.tst

index c25df7b..bb99991 100644 (file)
@@ -15,5 +15,5 @@
 // <-- Short Description -->
 // fullpath(TMPDIR+...) was bugged on MacOS
 short = TMPDIR;
-long  = TMPDIR+"/api_c";
-assert_checkequal(fullpath(short)+"/api_c", fullpath(long));
+long  = TMPDIR + filesep() + "api_c";
+assert_checkequal(fullpath(short) + filesep() + "api_c", fullpath(long));
index 823c2fd..3cb895b 100644 (file)
@@ -16,6 +16,6 @@
 // fullpath(TMPDIR+...) was bugged on MacOS
 
 short = TMPDIR;
-long  = TMPDIR+"/api_c";
+long  = TMPDIR + filesep() + "api_c";
 
-assert_checkequal(fullpath(short)+"/api_c", fullpath(long));
+assert_checkequal(fullpath(short) + filesep() + "api_c", fullpath(long));