Module: wine
Branch: master
Commit: db35da733530c173efc7e68b9e25d27c66aef3b5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=db35da733530c173efc7e68b9…
Author: Hwang YunSong <hys545(a)dreamwiz.com>
Date: Thu Jul 28 16:10:04 2011 +0900
po: Updated Korean translation.
---
po/ko.po | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/po/ko.po b/po/ko.po
index dadec4f..6c6be76 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -8157,6 +8157,8 @@ msgid ""
"ENDLOCAL ends localization of environment changes in a batch file\n"
"which were introduced by a preceding SETLOCAL.\n"
msgstr ""
+"ENDLOCAL은 배치파일에서 바꾼 지역 환경변수를 끝냅니다\n"
+"이것은 이전의 SETLOCAL로 시작되었습니다.\n"
#: cmd.rc:218
msgid ""
@@ -8167,6 +8169,11 @@ msgid ""
"file, whichever comes first), at which point the previous environment\n"
"settings are restored.\n"
msgstr ""
+"ENDLOCAL은 배치파일에서 바꾼 지역 환경변수를 끝냅니다\n"
+"\n"
+"SETLOCAL이후의 바뀐 환경 변수는 패치 파일안에서만 적용됩니다. 그리고\n"
+"다음 ENDLOCAL이 나올 때까지만 보존되고(아니면 파일의 끝이든지,\n"
+"어느 똑이든 먼저 오는 지점이),이전의 환경 설정이 복원되는 지정입니다.\n"
#: cmd.rc:221
msgid ""
@@ -8206,7 +8213,6 @@ msgstr ""
"호출한 셀로 돌아갑니다.\n"
#: cmd.rc:267
-#, fuzzy
msgid ""
"CMD built-in commands are:\n"
"ATTRIB\t\tShow or change DOS file attributes\n"
@@ -8243,9 +8249,9 @@ msgid ""
"Enter HELP <command> for further information on any of the above commands\n"
msgstr ""
"CMD 내부 명령들:\n"
-"ATTRIB\t\t도스 파일 속 보여주거나 바꾸기\n"
+"ATTRIB\t\t도스 파일 속성 보여주거나 바꾸기\n"
"CALL\t\tI배치 파일 안에서 다른 파일 불러오기\n"
-"CD (CHDIR)\t현제 기본 디렉토리 바꾸기\n"
+"CD (CHDIR)\t현재 기본 디렉토리 바꾸기\n"
"CHOICE\t\t목록에서 키를 선택할 때까지 기다림\n"
"CLS\t\t콘솔 화면 깨끗하게\n"
"COPY\t\t파일 복사\n"
Module: wine
Branch: master
Commit: 7fb790f8a7e38c10d08da4847f455b3ecc31d688
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fb790f8a7e38c10d08da4847…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Fri Jul 29 13:59:52 2011 +0200
cmd/tests: Add FOR /L tests.
---
programs/cmd/tests/test_builtins.cmd | 19 +++++++++++++++++++
programs/cmd/tests/test_builtins.cmd.exp | 13 +++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd
index 94ec6e0..f3b1fc5 100644
--- a/programs/cmd/tests/test_builtins.cmd
+++ b/programs/cmd/tests/test_builtins.cmd
@@ -317,6 +317,25 @@ rem sort < tmp
rem del tmp
cd ..
rd /s/Q foobar
+echo ...for /L
+rem Some cases loop forever writing 0s, like e.g. (1,0,1), (1,a,3) or (a,b,c); those can't be tested here
+for /L %%i in (1,2,0) do echo %%i
+for /L %%i in (1,2,6) do echo %%i
+for /l %%i in (1 ,2,6) do echo %%i
+for /L %%i in (a,2,3) do echo %%i
+for /L %%i in (1,2,-1) do echo %%i
+for /L %%i in (-4,-1,-1) do echo %%i
+for /L %%i in (1,-2,-2) do echo %%i
+for /L %%i in (1,2,a) do echo %%i
+echo ErrorLevel %ErrorLevel%
+for /L %%i in (1,a,b) do echo %%i
+echo ErrorLevel %ErrorLevel%
+rem FIXME: following test cases cannot be currently tested due to an inconsistent/buggy 'for /L' parsing.
+rem for /L %%i in (a,2,b) do echo %%i
+rem for /L %%i in (1,1,1) do echo %%i
+rem for /L %%i in (1,-2,-1) do echo %%i
+rem for /L %%i in (-1,-1,-1) do echo %%i
+rem for /L %%i in (1,2, 3) do echo %%i
echo -----------Testing del /a-----------
del /f/q *.test > nul
diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp
index 7abfb21..51239b0 100644
--- a/programs/cmd/tests/test_builtins.cmd.exp
+++ b/programs/cmd/tests/test_builtins.cmd.exp
@@ -220,6 +220,19 @@ bazbaz
baz
foo
bar
+...for /L
+1
+3
+5
+1
+3
+5
+0
+2
+1
+-1
+@todo_wine@ErrorLevel 0
+@todo_wine@ErrorLevel 0
-----------Testing del /a-----------
not-r.test not found after delete, good
r.test found before delete, good
Module: wine
Branch: master
Commit: 21f7c5db614cb9c1b3689d873020e40ef99c51f5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=21f7c5db614cb9c1b3689d873…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Fri Jul 29 13:59:50 2011 +0200
cmd/tests: Add FOR /D tests.
---
programs/cmd/tests/test_builtins.cmd | 16 ++++++++++++++++
programs/cmd/tests/test_builtins.cmd.exp | 4 ++++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd
index 4510074..94ec6e0 100644
--- a/programs/cmd/tests/test_builtins.cmd
+++ b/programs/cmd/tests/test_builtins.cmd
@@ -299,6 +299,22 @@ mkdir baz
echo > bazbaz
echo ...basic wildcards
for %%i in (ba*) do echo %%i
+echo ...for /d
+for /d %%i in (baz foo bar) do echo %%i
+rem FIXME for /d incorrectly parses when wildcards are used
+rem for /d %%i in (bazb*) do echo %%i
+rem FIXME can't test wildcard expansion here since it's listed in directory
+rem order, and not in alphabetic order.
+rem Proper testing would need a currently missing "sort" program implementation.
+rem for /d %%i in (ba*) do echo %%i>> tmp
+rem sort < tmp
+rem del tmp
+rem for /d %%i in (?a*) do echo %%i>> tmp
+rem sort < tmp
+rem del tmp
+rem for /d %%i in (*) do echo %%i>> tmp
+rem sort < tmp
+rem del tmp
cd ..
rd /s/Q foobar
diff --git a/programs/cmd/tests/test_builtins.cmd.exp b/programs/cmd/tests/test_builtins.cmd.exp
index a050c14..7abfb21 100644
--- a/programs/cmd/tests/test_builtins.cmd.exp
+++ b/programs/cmd/tests/test_builtins.cmd.exp
@@ -216,6 +216,10 @@ C
@todo_wine@B D
...basic wildcards
bazbaz
+...for /d
+baz
+foo
+bar
-----------Testing del /a-----------
not-r.test not found after delete, good
r.test found before delete, good