-support win32 build, -enhance makefile
authordaiyoung777.kim <daiyoung777.kim@samsung.com>
Sat, 24 Nov 2012 07:58:03 +0000 (16:58 +0900)
committerdaiyoung777.kim <daiyoung777.kim@samsung.com>
Sat, 24 Nov 2012 07:58:03 +0000 (16:58 +0900)
27 files changed:
vts/ext/luabridge/lib/libluabridge32.a [new file with mode: 0644]
vts/out/Report.o [deleted file]
vts/out/TcAV.o [deleted file]
vts/out/TcCamera.o [deleted file]
vts/out/TcEM.o [deleted file]
vts/out/TcNet.o [deleted file]
vts/out/TcSS.o [deleted file]
vts/out/main.o [deleted file]
vts/out/netutil.o [deleted file]
vts/out/sshell.o [deleted file]
vts/out/tcbase.o [deleted file]
vts/out/tccmd.o [deleted file]
vts/out/tcnetwork.o [deleted file]
vts/out/tinythread.o [deleted file]
vts/out/util.o [deleted file]
vts/report/Wed 2012-11-21 21:20:54 KST_Report.html [deleted file]
vts/src/Makefile
vts/src/TcAV.cpp
vts/src/TcEM.cpp
vts/src/TcSS.cpp
vts/src/actshell.cpp
vts/src/netutil.cpp
vts/src/sshell.cpp
vts/src/sshell.h
vts/src/tccmd.h
vts/src/util.cpp
vts/src/util.h

diff --git a/vts/ext/luabridge/lib/libluabridge32.a b/vts/ext/luabridge/lib/libluabridge32.a
new file mode 100644 (file)
index 0000000..00418ac
Binary files /dev/null and b/vts/ext/luabridge/lib/libluabridge32.a differ
diff --git a/vts/out/Report.o b/vts/out/Report.o
deleted file mode 100644 (file)
index 68c0d75..0000000
Binary files a/vts/out/Report.o and /dev/null differ
diff --git a/vts/out/TcAV.o b/vts/out/TcAV.o
deleted file mode 100644 (file)
index 0982d9d..0000000
Binary files a/vts/out/TcAV.o and /dev/null differ
diff --git a/vts/out/TcCamera.o b/vts/out/TcCamera.o
deleted file mode 100644 (file)
index 429e97c..0000000
Binary files a/vts/out/TcCamera.o and /dev/null differ
diff --git a/vts/out/TcEM.o b/vts/out/TcEM.o
deleted file mode 100644 (file)
index b0901f9..0000000
Binary files a/vts/out/TcEM.o and /dev/null differ
diff --git a/vts/out/TcNet.o b/vts/out/TcNet.o
deleted file mode 100644 (file)
index 0e69d19..0000000
Binary files a/vts/out/TcNet.o and /dev/null differ
diff --git a/vts/out/TcSS.o b/vts/out/TcSS.o
deleted file mode 100644 (file)
index 60a21c3..0000000
Binary files a/vts/out/TcSS.o and /dev/null differ
diff --git a/vts/out/main.o b/vts/out/main.o
deleted file mode 100644 (file)
index df91681..0000000
Binary files a/vts/out/main.o and /dev/null differ
diff --git a/vts/out/netutil.o b/vts/out/netutil.o
deleted file mode 100644 (file)
index 185fc50..0000000
Binary files a/vts/out/netutil.o and /dev/null differ
diff --git a/vts/out/sshell.o b/vts/out/sshell.o
deleted file mode 100644 (file)
index 995b1ab..0000000
Binary files a/vts/out/sshell.o and /dev/null differ
diff --git a/vts/out/tcbase.o b/vts/out/tcbase.o
deleted file mode 100644 (file)
index 8b34116..0000000
Binary files a/vts/out/tcbase.o and /dev/null differ
diff --git a/vts/out/tccmd.o b/vts/out/tccmd.o
deleted file mode 100644 (file)
index fbdd61d..0000000
Binary files a/vts/out/tccmd.o and /dev/null differ
diff --git a/vts/out/tcnetwork.o b/vts/out/tcnetwork.o
deleted file mode 100644 (file)
index 2a71f78..0000000
Binary files a/vts/out/tcnetwork.o and /dev/null differ
diff --git a/vts/out/tinythread.o b/vts/out/tinythread.o
deleted file mode 100644 (file)
index 1a09939..0000000
Binary files a/vts/out/tinythread.o and /dev/null differ
diff --git a/vts/out/util.o b/vts/out/util.o
deleted file mode 100644 (file)
index d09851d..0000000
Binary files a/vts/out/util.o and /dev/null differ
diff --git a/vts/report/Wed 2012-11-21 21:20:54 KST_Report.html b/vts/report/Wed 2012-11-21 21:20:54 KST_Report.html
deleted file mode 100644 (file)
index 5538da3..0000000
+++ /dev/null
@@ -1,1271 +0,0 @@
-<style type="text/css">
-table { font-family:sans-serif; font-size: 9pt; }
-.tblHd {       border-bottom: 2px solid #d79900; background-color: #fff2ba; text-align: center; font-family: Verdana; font-weight: bold; font-size: 11px; color: #404040;} </style>
-<table border=1 cellspacing=0>
-<tr class="tblHd"><td>Test time</td><td>Category</td><td>Sub category</td><td>Test Case</td><td>TC Level</td><td>Result</td><td>Command</td><td>Output</td><td>Etc</td></tr>
-<tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:54 KST</td><td>emulator-manager-test</td><td>create_vm</td><td>delete_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar delete -n testvm</font></td><td><font size=2 color=gray>Error: There is no Virtual Machine named testvm
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:54 KST</td><td>emulator-manager-test</td><td>create_vm</td><td>create_1</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar create --name testvm --base 1</font></td><td><font size=2 color=gray>Success: To create new Virtual Machine is completed.
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:54 KST</td><td>emulator-manager-test</td><td>create_vm</td><td>list_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar list-vm</font></td><td><font size=2 color=gray>test2
-testxx3
-testxx4
-test
-testxx2
-testxx
-testvm
-created_from_lua
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:20:54 KST</td><td>emulator-manager-test</td><td>create_vm</td><td>create_vm</td><td>eTC_LEVEL_TESTCASE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 3, Success = 2, Failure = 1</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:55 KST</td><td>emulator-manager-test</td><td>create_select_ram</td><td>delete_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar delete -n testvm</font></td><td><font size=2 color=gray>Success: To delete process is completed!
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:55 KST</td><td>emulator-manager-test</td><td>create_select_ram</td><td>create_1</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar create --name testvm --base 1 --ram-size 512</font></td><td><font size=2 color=gray>Success: To create new Virtual Machine is completed.
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:56 KST</td><td>emulator-manager-test</td><td>create_select_ram</td><td>detail</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar detail --name testvm</font></td><td><font size=2 color=gray>testvm
-       ImageType         : standard
-       Version           : tizen2.0
-       Image Version     : x86-standard
-       Base Disk Image   : /home/dykim/tizen-sdk/platforms/tizen2.0/emulator-images/default/x86-standard/emulimg-2.0.x86
-       Child Disk Image  : /home/dykim/tizen-sdk-data/emulator-vms/vms/testvm/emulimg-testvm.x86
-       Resolution        : 720x1280
-       DPI               : 316
-       Skin Path         : /home/dykim/tizen-sdk/tools/emulator/skins/emul-720x1280
-       Max Touch Point   : 3
-       RAM Size          : 512
-       HW Virtualization : TRUE
-       HW GL Acceleration : TRUE
-
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:20:56 KST</td><td>emulator-manager-test</td><td>create_select_ram</td><td>create_select_ram</td><td>eTC_LEVEL_TESTCASE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 3, Success = 3, Failure = 0</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:56 KST</td><td>emulator-manager-test</td><td>create_select_res</td><td>delete_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar delete -n testvm</font></td><td><font size=2 color=gray>Success: To delete process is completed!
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:56 KST</td><td>emulator-manager-test</td><td>create_select_res</td><td>create_1</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar create --name testvm --base 1 --resolution HD</font></td><td><font size=2 color=gray>Success: To create new Virtual Machine is completed.
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:57 KST</td><td>emulator-manager-test</td><td>create_select_res</td><td>detail</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar detail --name testvm</font></td><td><font size=2 color=gray>testvm
-       ImageType         : standard
-       Version           : tizen2.0
-       Image Version     : x86-standard
-       Base Disk Image   : /home/dykim/tizen-sdk/platforms/tizen2.0/emulator-images/default/x86-standard/emulimg-2.0.x86
-       Child Disk Image  : /home/dykim/tizen-sdk-data/emulator-vms/vms/testvm/emulimg-testvm.x86
-       Resolution        : 720x1280
-       DPI               : 316
-       Skin Path         : /home/dykim/tizen-sdk/tools/emulator/skins/emul-720x1280
-       Max Touch Point   : 3
-       RAM Size          : 512
-       HW Virtualization : TRUE
-       HW GL Acceleration : TRUE
-
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:20:57 KST</td><td>emulator-manager-test</td><td>create_select_res</td><td>create_select_res</td><td>eTC_LEVEL_TESTCASE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 3, Success = 3, Failure = 0</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:57 KST</td><td>emulator-manager-test</td><td>create_select_disp</td><td>delete_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar delete -n testvm</font></td><td><font size=2 color=gray>Success: To delete process is completed!
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:58 KST</td><td>emulator-manager-test</td><td>create_select_disp</td><td>create_1</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar create --name testvm --base 1 --dpi 300</font></td><td><font size=2 color=gray>Success: To create new Virtual Machine is completed.
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:58 KST</td><td>emulator-manager-test</td><td>create_select_disp</td><td>detail</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar detail --name testvm</font></td><td><font size=2 color=gray>testvm
-       ImageType         : standard
-       Version           : tizen2.0
-       Image Version     : x86-standard
-       Base Disk Image   : /home/dykim/tizen-sdk/platforms/tizen2.0/emulator-images/default/x86-standard/emulimg-2.0.x86
-       Child Disk Image  : /home/dykim/tizen-sdk-data/emulator-vms/vms/testvm/emulimg-testvm.x86
-       Resolution        : 720x1280
-       DPI               : 300
-       Skin Path         : /home/dykim/tizen-sdk/tools/emulator/skins/emul-720x1280
-       Max Touch Point   : 3
-       RAM Size          : 512
-       HW Virtualization : TRUE
-       HW GL Acceleration : TRUE
-
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:20:58 KST</td><td>emulator-manager-test</td><td>create_select_disp</td><td>create_select_disp</td><td>eTC_LEVEL_TESTCASE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 3, Success = 3, Failure = 0</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:58 KST</td><td>emulator-manager-test</td><td>create_select_file_share</td><td>delete_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar delete -n testvm</font></td><td><font size=2 color=gray>Success: To delete process is completed!
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:58 KST</td><td>emulator-manager-test</td><td>create_select_file_share</td><td>create_1</td><td>eTC_LEVEL_METHOD</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar create --name testvm --base 1 --file-sharing-path share</font></td><td><font size=2 color=gray>Error: 
-This directory does not exist. (Path : share)
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:20:58 KST</td><td>emulator-manager-test</td><td>create_select_file_share</td><td>create_select_file_share</td><td>eTC_LEVEL_TESTCASE</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 2, Success = 1, Failure = 1</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:59 KST</td><td>emulator-manager-test</td><td>create_select_hw_vritualization</td><td>delete_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar delete -n testvm</font></td><td><font size=2 color=gray>Error: There is no Virtual Machine named testvm
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:59 KST</td><td>emulator-manager-test</td><td>create_select_hw_vritualization</td><td>create_1</td><td>eTC_LEVEL_METHOD</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar create --name testvm --base 1 --hw-virtualization yes</font></td><td><font size=2 color=gray>Error: 
-Please, check your input (yes) Avaliable value is true or false.
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:20:59 KST</td><td>emulator-manager-test</td><td>create_select_hw_vritualization</td><td>detail</td><td>eTC_LEVEL_METHOD</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar detail --name testvm</font></td><td><font size=2 color=gray>Error: The name (testvm) dose not exist in the VM list.
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:20:59 KST</td><td>emulator-manager-test</td><td>create_select_hw_vritualization</td><td>create_select_hw_vritualization</td><td>eTC_LEVEL_TESTCASE</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 3, Success = 0, Failure = 3</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:00 KST</td><td>emulator-manager-test</td><td>clone</td><td>cmd</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar clone -n testvm --target-name testvm_clone</font></td><td><font size=2 color=gray>Error: There is no Virtual Machine named testvm
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:00 KST</td><td>emulator-manager-test</td><td>clone</td><td>list_vm</td><td>eTC_LEVEL_METHOD</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar list-vm</font></td><td><font size=2 color=gray>test2
-testxx3
-testxx4
-test
-testxx2
-testxx
-created_from_lua
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:21:00 KST</td><td>emulator-manager-test</td><td>clone</td><td>clone</td><td>eTC_LEVEL_TESTCASE</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 2, Success = 1, Failure = 1</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:00 KST</td><td>emulator-manager-test</td><td>emulator launching test</td><td>create</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar create --name created_from_lua --base 1</font></td><td><font size=2 color=gray>Error: 
-The name (created_from_lua) already exists!
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:01 KST</td><td>emulator-manager-test</td><td>emulator launching test</td><td>launch</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>java -jar ~/tizen-sdk/tools/emulator/bin/emulator-manager.jar launch -n created_from_lua</font></td><td><font size=2 color=gray>Success: To start emulator is completed.
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:11 KST</td><td>emulator-manager-test</td><td>emulator launching test</td><td>launch check</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>sdb shell ps -A | grep menu-screen</font></td><td><font size=2 color=gray> 2006 ?        00:00:00 menu-screen\r
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:21:11 KST</td><td>emulator-manager-test</td><td>emulator launching test</td><td>emulator launching test</td><td>eTC_LEVEL_TESTCASE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 3, Success = 3, Failure = 0</font></td><td>-</td></tr><tr bgcolor=green>
-<td>Wed 2012-11-21 21:21:11 KST</td><td>emulator-manager-test</td><td>-</td><td>emulator-manager-test</td><td>eTC_LEVEL_TESTSUITE</td><td><font color=red>FAILURE</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 8, Success = 5, Failure = 3</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:13 KST</td><td>-</td><td>net</td><td>check_sdb</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>./actshell sdb shell</font></td><td><font size=2 color=gray>sh-4.1# 
-close actshell
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:17 KST</td><td>-</td><td>net</td><td>check_network</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>sdb shell ping -c 5 10.0.2.2</font></td><td><font size=2 color=gray>PING 10.0.2.2 (10.0.2.2): 56 data bytes\r
-64 bytes from 10.0.2.2: seq=0 ttl=255 time=0.335 ms\r
-64 bytes from 10.0.2.2: seq=1 ttl=255 time=0.339 ms\r
-64 bytes from 10.0.2.2: seq=2 ttl=255 time=0.348 ms\r
-64 bytes from 10.0.2.2: seq=3 ttl=255 time=0.331 ms\r
-64 bytes from 10.0.2.2: seq=4 ttl=255 time=0.336 ms\r
-\r
---- 10.0.2.2 ping statistics ---\r
-5 packets transmitted, 5 packets received, 0% packet loss\r
-round-trip min/avg/max = 0.331/0.337/0.348 ms\r
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:19 KST</td><td>-</td><td>net</td><td>check_http_access</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>./actshell telnet 172.21.110.16 8080</font></td><td><font size=2 color=gray>Trying 172.21.110.16...
-Connected to 172.21.110.16.
-Escape character is '^]'.
-
-close actshell
-</font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:19 KST</td><td>-</td><td>net</td><td>check_http_proxy</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>echo $http_proxy</font></td><td><font size=2 color=gray>http://172.21.110.16:8080
-</font></td><td>...</td></tr><tr bgcolor=green>
-<td>Wed 2012-11-21 21:21:19 KST</td><td>net</td><td>-</td><td>net</td><td>eTC_LEVEL_TESTSUITE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 4, Success = 4, Failure = 0</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:26 KST</td><td>-</td><td>av</td><td>install av</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>../res/av/install_avtest.sh</font></td><td><font size=2 color=gray></font></td><td>...</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:35 KST</td><td>-</td><td>av</td><td>av_play</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>sdb shell /opt/home/root/gst_test.dat</font></td><td><font size=2 color=gray>Now recording: /opt/media/Downloads/test_mpeg4_enc.mp4\r
-Encoder Running...\r
-[gst-ffmpeg-emul][1063] succeeded to mmap: 0xb5253000\r
-[gst-ffmpeg-emul][319] codec version:1.3\r
-End of stream\r
-Returned, stopping playback\r
-Deleting pipeline\r
-[gst-ffmpeg-emul][236] release buffer of mapping region:0xb5253000\r
-Now playing: /opt/media/Downloads/test_mpeg4_enc.mp4\r
-Dynamic pad created, linking demuxer/decoder\r
-[gst-ffmpeg-emul][1063] succeeded to mmap: 0xb39dd000\r
-[gst-ffmpeg-emul][319] codec version:1.3\r
-Decoder Running...\r
-End of stream\r
-Returned, stopping playback\r
-Deleting pipeline\r
-[gst-ffmpeg-emul][236] release buffer of mapping region:0xb39dd000\r
-</font></td><td>...</td></tr><tr bgcolor=green>
-<td>Wed 2012-11-21 21:21:35 KST</td><td>av</td><td>-</td><td>av</td><td>eTC_LEVEL_TESTSUITE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 2, Success = 2, Failure = 0</font></td><td>-</td></tr><tr bgcolor=white>
-<td>Wed 2012-11-21 21:21:55 KST</td><td>skinserver</td><td>emulator launching..</td><td>launch check</td><td>eTC_LEVEL_METHOD</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>sdb shell ps -A | grep menu-screen</font></td><td><font size=2 color=gray> 1964 ?        00:00:00 menu-screen\r
-</font></td><td>...</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:21:55 KST</td><td>skinserver</td><td>emulator launching..</td><td>emulator launching..</td><td>eTC_LEVEL_TESTCASE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 1, Success = 1, Failure = 0</font></td><td>-</td></tr><tr bgcolor=yellow>
-<td>Wed 2012-11-21 21:22:32 KST</td><td>skinserver</td><td>TcSkinServer</td><td>TcSkinServer</td><td>eTC_LEVEL_TESTCASE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>
- key added state = 1, is char = 1, vk = 97, state_mask = 0, key_loc = 0
-
- key added state = 2, is char = 1, vk = 97, state_mask = 0, key_loc = 0
-
- key added state = 1, is char = 1, vk = 98, state_mask = 0, key_loc = 0
-
- key added state = 2, is char = 1, vk = 98, state_mask = 0, key_loc = 0
-
- key added state = 1, is char = 1, vk = 99, state_mask = 0, key_loc = 0
-
- key added state = 2, is char = 1, vk = 99, state_mask = 0, key_loc = 0
-
- key added state = 1, is char = 1, vk = 100, state_mask = 0, key_loc = 0
-
- key added state = 2, is char = 1, vk = 100, state_mask = 0, key_loc = 0
-Connected to the skin server
-msg_USB_KBD send
-
-wait about 10 seconds until usb device would be ready!!
-
-######## waiting character "a"
-
-sdb shell xev
-
-send key event : key code = 97, vk = 97, state = PRESSED
-
-######## waiting character "a"
-
-sdb shell xev
-
-send key event : key code = 97, vk = 97, state = RELEASED
-
-######## waiting character "b"
-
-sdb shell xev
-
-send key event : key code = 98, vk = 98, state = PRESSED
-
-######## waiting character "b"
-
-sdb shell xev
-
-send key event : key code = 98, vk = 98, state = RELEASED
-
-######## waiting character "c"
-
-sdb shell xev
-
-send key event : key code = 99, vk = 99, state = PRESSED
-
-######## waiting character "c"
-
-sdb shell xev
-
-send key event : key code = 99, vk = 99, state = RELEASED
-
-######## waiting character "d"
-
-sdb shell xev
-
-send key event : key code = 100, vk = 100, state = PRESSED
-
-######## waiting character "d"
-
-sdb shell xev
-
-send key event : key code = 100, vk = 100, state = RELEASED
-
-</font></td><td><font size=2 color=gray>Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 18092, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 18092, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 18092, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 18104, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 18110, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 18110, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x1a00001, override NO\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 18110, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 18110, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 18110, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 18110, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 18110, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe0016c,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 18111, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 18111, state PropertyNewValue\r
-\r
-MapNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 18112, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 18112, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 18112, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 18115, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  39  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 39, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  86  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 18115, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ConfigureNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 40, synthetic YES, window 0x1c00001,\r
-    message_type 0x20a (_X_ILLUME_ACTIVATE_WINDOW), format 32\r
-\r
-KeyPress event, serial 41, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 21016, (360,640), root:(360,640),\r
-    state 0x0, keycode 38 (keysym 0x61, a), same_screen YES,\r
-    XLookupString gives 1 bytes: (61) "a"\r
-
-Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 21729, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 21729, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 21729, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 21736, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 27, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 21738, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 27, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 21738, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x2600001, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 21738, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 21738, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 21738, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 21738, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 21739, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe00198,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 21741, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 21741, state PropertyNewValue\r
-\r
-MapNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 21741, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 21741, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 21741, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 21748, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  1   0   0   0   64  0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 39, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  86  0   0   0   64  0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 21751, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-KeyRelease event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 21760, (360,640), root:(360,640),\r
-    state 0x0, keycode 38 (keysym 0x61, a), same_screen YES,\r
-    XLookupString gives 1 bytes: (61) "a"\r
-
-Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 24727, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 24727, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 24727, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 24735, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 24739, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 24739, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x2600001, override NO\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 24739, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 24739, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 24739, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 24739, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 30, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 24740, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe001c1,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 24741, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 24741, state PropertyNewValue\r
-\r
-MapNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 24742, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 24742, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 24742, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 24745, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  39  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 39, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  86  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 24745, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ConfigureNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 40, synthetic YES, window 0x1c00001,\r
-    message_type 0x20a (_X_ILLUME_ACTIVATE_WINDOW), format 32\r
-\r
-KeyPress event, serial 41, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 27688, (360,640), root:(360,640),\r
-    state 0x0, keycode 56 (keysym 0x62, b), same_screen YES,\r
-    XLookupString gives 1 bytes: (62) "b"\r
-
-Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 28399, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 28399, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 28399, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 28403, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 28409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 28409, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x2600001, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 28409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 28409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 28409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 28409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 28410, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe001dc,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 28411, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 28411, state PropertyNewValue\r
-\r
-MapNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 28412, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 28412, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 28412, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 28416, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  1   0   0   0   0   0   0   1   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 39, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  86  0   0   0   0   0   0   1   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 28419, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ConfigureNotify event, serial 40, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-KeyRelease event, serial 40, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 28430, (360,640), root:(360,640),\r
-    state 0x0, keycode 56 (keysym 0x62, b), same_screen YES,\r
-    XLookupString gives 1 bytes: (62) "b"\r
-
-Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 31399, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 31399, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 31399, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 31407, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 31409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 31409, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x2600001, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 31409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 31409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 31409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 31409, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 31410, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe00208,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 31411, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 31411, state PropertyNewValue\r
-\r
-MapNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 31413, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 31413, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 31413, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 31416, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 39, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  86  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 31416, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ConfigureNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 40, synthetic YES, window 0x1c00001,\r
-    message_type 0x20a (_X_ILLUME_ACTIVATE_WINDOW), format 32\r
-\r
-KeyPress event, serial 41, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 34359, (360,640), root:(360,640),\r
-    state 0x0, keycode 54 (keysym 0x63, c), same_screen YES,\r
-    XLookupString gives 1 bytes: (63) "c"\r
-
-Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 35070, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 35071, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 35071, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 35079, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 35081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 35081, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x2600001, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 35081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 35081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 35081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 35081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 35082, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe00222,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 35083, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 35083, state PropertyNewValue\r
-\r
-MapNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 35084, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 35084, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 35084, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 35087, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  1   0   0   0   0   0   64  0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 39, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  86  0   0   0   0   0   64  0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 35087, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ConfigureNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-KeyRelease event, serial 40, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 35101, (360,640), root:(360,640),\r
-    state 0x0, keycode 54 (keysym 0x63, c), same_screen YES,\r
-    XLookupString gives 1 bytes: (63) "c"\r
-
-Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 38071, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 38071, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 38071, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 38079, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 38081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 38081, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x2600001, override NO\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 38081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 38081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 38081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 38081, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 28, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 38082, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe0024d,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 38083, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 35, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 38083, state PropertyNewValue\r
-\r
-MapNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 38084, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 38084, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 38084, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 37, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 39, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 38088, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 39, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 39, synthetic NO, window 0x0,\r
-    keys:  86  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 39, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 38088, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ConfigureNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 40, synthetic YES, window 0x1c00001,\r
-    message_type 0x20a (_X_ILLUME_ACTIVATE_WINDOW), format 32\r
-\r
-KeyPress event, serial 41, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 41032, (360,640), root:(360,640),\r
-    state 0x0, keycode 40 (keysym 0x64, d), same_screen YES,\r
-    XLookupString gives 1 bytes: (64) "d"\r
-
-Outer window is 0x1c00001, inner window is 0x1c00002\r
-\r
-PropertyNotify event, serial 8, synthetic NO, window 0x1c00001,\r
-    atom 0x27 (WM_NAME), time 41745, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 9, synthetic NO, window 0x1c00001,\r
-    atom 0x22 (WM_COMMAND), time 41745, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 10, synthetic NO, window 0x1c00001,\r
-    atom 0x28 (WM_NORMAL_HINTS), time 41745, state PropertyNewValue\r
-\r
-CreateNotify event, serial 11, synthetic NO, window 0x1c00001,\r
-    parent 0x1c00001, window 0x1c00002, (10,10), width 50, height 50\r
-border_width 4, override NO\r
-\r
-PropertyNotify event, serial 14, synthetic NO, window 0x1c00001,\r
-    atom 0x129 (WM_PROTOCOLS), time 41750, state PropertyNewValue\r
-\r
-MapNotify event, serial 15, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00002, override NO\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1f0 (_E_PARENT_BORDER_WINDOW), time 41752, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 41752, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 178, height 178,\r
-    border_width 0, above 0x2600001, override NO\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 41752, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1fb (__E_WINDOW_CONTAINER), time 41752, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1fc (__E_WINDOW_ZONE), time 41752, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1fd (__E_WINDOW_DESK), time 41752, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1db (_E_PROFILE), time 41753, state PropertyNewValue\r
-\r
-ReparentNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, parent 0xe00269,\r
-    (0,0), override NO\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x17e (_NET_FRAME_EXTENTS), time 41753, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x127 (_E_FRAME_SIZE), time 41753, state PropertyNewValue\r
-\r
-MapNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, override NO\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x12b (WM_STATE), time 41754, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1fe (__E_WINDOW_MAPPED), time 41754, state PropertyNewValue\r
-\r
-PropertyNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    atom 0x1fa (__E_WINDOW_MANAGED), time 41754, state PropertyNewValue\r
-\r
-ConfigureNotify event, serial 18, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-ConfigureNotify event, serial 18, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-Expose event, serial 18, synthetic NO, window 0x1c00001,\r
-    (0,0), width 720, height 10, count 3\r
-\r
-Expose event, serial 18, synthetic NO, window 0x1c00001,\r
-    (0,10), width 10, height 58, count 2\r
-\r
-Expose event, serial 18, synthetic NO, window 0x1c00001,\r
-    (68,10), width 652, height 58, count 1\r
-\r
-Expose event, serial 18, synthetic NO, window 0x1c00001,\r
-    (0,68), width 720, height 1212, count 0\r
-\r
-EnterNotify event, serial 18, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 41757, (360,640), root:(360,640),\r
-    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,\r
-    focus NO, state 0\r
-\r
-KeymapNotify event, serial 18, synthetic NO, window 0x0,\r
-    keys:  0   0   0   0   0   1   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-FocusIn event, serial 18, synthetic NO, window 0x1c00001,\r
-    mode NotifyNormal, detail NotifyNonlinear\r
-\r
-KeymapNotify event, serial 18, synthetic NO, window 0x0,\r
-    keys:  0   0   0   0   0   1   0   0   0   0   0   0   0   0   0   0   \r
-           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   \r
-\r
-PropertyNotify event, serial 20, synthetic NO, window 0x1c00001,\r
-    atom 0x19b (_E_ILLUME_ZONE), time 41760, state PropertyNewValue\r
-\r
-VisibilityNotify event, serial 39, synthetic YES, window 0x1c00001,\r
-    state VisibilityUnobscured\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ClientMessage event, serial 39, synthetic YES, window 0x1c00001,\r
-    message_type 0x222 (_NET_CM_WINDOW_EFFECT_CLIENT_STATE), format 32\r
-\r
-ConfigureNotify event, serial 40, synthetic YES, window 0x1c00001,\r
-    event 0x1c00001, window 0x1c00001, (0,0), width 720, height 1280,\r
-    border_width 0, above 0x0, override NO\r
-\r
-KeyRelease event, serial 40, synthetic NO, window 0x1c00001,\r
-    root 0x56, subw 0x0, time 41773, (360,640), root:(360,640),\r
-    state 0x0, keycode 40 (keysym 0x64, d), same_screen YES,\r
-    XLookupString gives 1 bytes: (64) "d"\r
-
-</font></td><td>...</td></tr><tr bgcolor=green>
-<td>Wed 2012-11-21 21:22:32 KST</td><td>skinserver</td><td>-</td><td>skinserver</td><td>eTC_LEVEL_TESTSUITE</td><td><font color=blue>SUCCEED</font></td><td><font size=2 color=navy>-</font></td><td><font size=2 color=gray>Total = 2, Success = 2, Failure = 0</font></td><td>-</td></tr></table>
index 0157cc6..ca74049 100644 (file)
@@ -1,65 +1,67 @@
 CC = gcc
-CFLAGS = -lstdc++ -g 
-LUAFLAGS = -llua -L ../ext/luabridge/lib/ -I../src/ -lluabridge -ldl -pthread
-TARGET = emtest
-OUTDIR = ../out
-BINDIR = ../bin/
-all : $(TARGET)
-
-$(TARGET) :  main.o tinythread.o util.o netutil.o sshell.o tccmd.o tcnetwork.o tcbase.o Report.o TcEM.o TcAV.o TcNet.o TcCamera.o TcSS.o actshell
-       $(CC) -o $(BINDIR)$(TARGET) $(OUTDIR)/main.o $(OUTDIR)/tinythread.o $(OUTDIR)/util.o $(OUTDIR)/netutil.o $(OUTDIR)/Report.o $(OUTDIR)/tccmd.o $(OUTDIR)/tcnetwork.o $(OUTDIR)/TcEM.o $(OUTDIR)/TcAV.o $(OUTDIR)/TcNet.o $(OUTDIR)/TcCamera.o $(OUTDIR)/TcSS.o $(OUTDIR)/tcbase.o $(OUTDIR)/sshell.o $(CFLAGS) $(LUAFLAGS)
-
-tinythread.o : tinythread.cpp
-       $(CC) -c -o $(OUTDIR)/tinythread.o tinythread.cpp $(CFLAGS)
-
-util.o : util.cpp
-       $(CC) -c -o $(OUTDIR)/util.o util.cpp $(CFLAGS)
-
-netutil.o : netutil.cpp
-       $(CC) -c -o $(OUTDIR)/netutil.o netutil.cpp $(CFLAGS)
+CFLAGS = -lstdc++ -g -pthread -lwsock32 -L-Ladvapi32
+LUALIB = -lluabridge -llua
+LUAFLAGS = -L../ext/luabridge/lib/ -I../src/
 
-sshell.o : sshell.cpp
-       $(CC) -c -o $(OUTDIR)/sshell.o sshell.cpp $(CFLAGS)
+UNAME := $(shell uname)
 
-tcbase.o : tcbase.cpp
-       $(CC) -c -o $(OUTDIR)/tcbase.o tcbase.cpp $(CFLAGS)
+ifeq ($(UNAME), Linux)
+PALTFORMSTR = linux
+LUAFLAGS += LUALIB
+else
+PLATFORMSTR = win32
+CFLAGS += -L/mingw/lib
+LUAFLAGS += $(subst -lluabridge, -lluabridge32, $(LUALIB))
+endif
 
-tccmd.o : tccmd.cpp
-       $(CC) -c -o $(OUTDIR)/tccmd.o tccmd.cpp $(CFLAGS)
-
-tcnetwork.o : tcnetwork.cpp
-       $(CC) -c -o $(OUTDIR)/tcnetwork.o tcnetwork.cpp $(CFLAGS)
-
-Report.o : Report.cpp
-       $(CC) -c -o $(OUTDIR)/Report.o Report.cpp $(CFLAGS)
-
-TcEM.o : TcEM.cpp
-       $(CC) -c -o $(OUTDIR)/TcEM.o TcEM.cpp  $(CFLAGS)
+TARGET = emtest
+OUTDIR = ../out/$(PLATFORMSTR)/
+BINDIR = ../bin/$(PLATFORMSTR)/
 
-TcAV.o : TcAV.cpp
-       $(CC) -c -o $(OUTDIR)/TcAV.o TcAV.cpp  $(CFLAGS)
+.SUFFIXES : .o .cpp
+$(OUTDIR)%.o : %.cpp
+       $(CC) -c -o $@ $^ $(CFLAGS)
 
-TcNet.o : TcNet.cpp
-       $(CC) -c -o $(OUTDIR)/TcNet.o TcNet.cpp  $(CFLAGS)
 
-TcCamera.o : TcCamera.cpp
-       $(CC) -c -o $(OUTDIR)/TcCamera.o TcCamera.cpp  $(CFLAGS)
+OBJECTS = $(patsubst %.cpp, $(OUTDIR)%.o, $(wildcard *.cpp))
+OBJECTS_WIN = $(filter-out $(OUTDIR)actshell.o, $(OBJECTS))
 
-TcSS.o : TcSS.cpp
-       $(CC) -c -o $(OUTDIR)/TcSS.o TcSS.cpp  $(CFLAGS)
 
+UNAME := $(shell uname)
 
-main.o : main.cpp
-       $(CC) -c -o $(OUTDIR)/main.o main.cpp $(CFLAGS) $(LUAFLAGS) 
+all : buildinfo emtest
 
+buildinfo :
+       @echo "uname is.." $(UNAME)
+       @echo "begin ..."
+       @echo $(LUAFLAGS)
 
-actshell : actshell.cpp
-       $(CC) -o $(BINDIR)actshell actshell.cpp $(CFLAGS)
+ifeq ($(UNAME), Linux)
+emtest : $(OBJECTS)
+       @echo "start emtest build for linux.."
+       $(CC) -o $(BINDIR)$@ $^ $(CFLAGS) $(LUAFLAGS)
+#endif
+#ifeq ($(UNAME), MINGW32)
+else
+emtest : $(OBJECTS_WIN)
+       @echo "start emtest build for windows.."
+       @echo $(OBJECTS_WIN)
+       $(CC) -o $(BINDIR)$@ $^ $(CFLAGS) $(LUAFLAGS)
+endif
+ifeq ($(UNAME), mac)
+emtest : $(OBJECTS)
+       @echo "start emtest build for mac.. do somethig.."
+endif
 
 
 clean :
        rm -rf *.o
-       rm -rf $(OUTDIR)/*.o
+       rm -rf $(OUTDIR)*.o
        rm -rf $(BINDIR)emtest
 
+install :
+       mkdir -p ../out
+       mkdir -p $(OUTDIR)
+       mkdir -p ../bin
+       mkdir -p $(BINDIR)
 
index dd1f9be..bd2458b 100644 (file)
@@ -13,7 +13,6 @@
 
 namespace te_test {
 
-//sdb shell /opt/home/root/codec_test_automation.sh
 //
 
 void TcAV_play::Prepare()
index 000ed49..e19b6d0 100644 (file)
@@ -44,7 +44,6 @@ public:
        }
 };
 
-
 class TcEM_detail : public sjava
 {
 public:
@@ -67,7 +66,6 @@ public:
 
                SetSuccessToken("Success");
        }
-       
 };
 
 //
index 5436e92..a2b579f 100644 (file)
@@ -9,11 +9,15 @@
 #include <iostream>
 #include "Report.h"
 #include "TcSS.h"
-#include <arpa/inet.h>
 #include "sshell.h"
 #include "tinythread.h"
 #include "util.h"
 
+#ifdef WIN32
+       #include <Winsock2.h>
+#else
+       #include <arpa/inet.h>
+#endif
 
 namespace te_test {
 
@@ -209,7 +213,7 @@ bool msg_KEY_EVENT::caller(sock* s)
 
                        thread t(ShellThread, tsk);
 
-                       sleep(3);       
+                       ssleep(3);      
                        
                        send_key_event(this, s, key.state, key.is_char, key.vk, key.state_mask, key.key_location);
 
@@ -262,7 +266,7 @@ bool msg_USB_KBD::callee(sock* s)
 {
        add_request_log("wait about 10 seconds until usb device would be ready!!\n");
 
-       sleep(10); // wait until usb keyboard was added to qemu
+       ssleep(10); // wait until usb keyboard was added to qemu
        return true;
 }      
 
index 99d08fc..730b52a 100644 (file)
@@ -37,7 +37,7 @@ int main (int argc, char** argv)
                close(comChild2Mother[1]);
                close(comMother2Child[0]);
 
-               fcntl (comChild2Mother[0], F_SETFL, O_NONBLOCK);
+               fcntl(comChild2Mother[0], F_SETFL, O_NONBLOCK);
 
                while(1) 
                {
index 989413f..3c547dc 100644 (file)
@@ -3,14 +3,39 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
-#include <sys/socket.h>
+
+#ifdef WIN32 
+#include <winsock.h> 
+#include <winsock2.h> 
+#else 
+#include <sys/types.h>
+#include <sys/socket.h> 
+#include <sys/un.h> 
 #include <netdb.h>
+#include <arpa/inet.h>
+#endif 
+
 #include <stdlib.h>
 #include <stdarg.h>
-#include <arpa/inet.h>
+
 
 #include "netutil.h"
 
+#ifdef WIN32 
+
+struct SockInit
+{
+public:
+       SockInit()
+       {
+               WSADATA wsaData;
+               WSAStartup(MAKEWORD(2, 2), &wsaData);
+       }
+};
+
+static SockInit initsock;
+
+#endif /* WIN32 */ 
 
 int errexit(char *format, ...)
 {
@@ -38,7 +63,7 @@ sock::~sock()
 
 void sock::close_s()
 {
-       close(m_s);
+       closesocket(m_s);
 }
 
 bool sock::create()
@@ -50,20 +75,20 @@ bool sock::create()
                errexit("can't create socket: %s\n", strerror(errno));
                return false;
        }
-
        return true;
 }
 
-bool sock::connect_to(const char *host, const int port)
+bool sock::connect_to(const charhost, const int port)
 {
-       struct hostent *phe;   /* pointer to host information entry    */
-       struct sockaddr_in sin;     /* an Internet endpoint address         */
+       struct hostent* phe;
+       struct sockaddr_in sin;
 
        memset(&sin, 0, sizeof(sin));
        sin.sin_family = AF_INET;
        sin.sin_port = htons(port);
 
-       if (phe = gethostbyname(host))
+       phe = gethostbyname(host);
+       if (phe)
        {
                memcpy(&sin.sin_addr, phe->h_addr, phe->h_length);
        }
@@ -94,9 +119,15 @@ bool sock::sendmsg(const char* buf, const int size)
                int ret = send(m_s, tmp + iBytesToSent, iBytesToSend, 0);
                if (ret == -1)
                {
+#ifdef WIN32
+                       if (errno == WSAEWOULDBLOCK || errno == EAGAIN)
+                               continue;
+                       errexit("can't send : %s\n", strerror(errno));
+#else
                        if (errno == EWOULDBLOCK || errno == EAGAIN)
                                continue;
                        errexit("can't send : %s\n", strerror(errno));
+#endif
                        return false;
                }
 
index 95f37ba..72d1227 100644 (file)
@@ -5,6 +5,7 @@
 #include <fcntl.h>
 #include "sshell.h"
 #include <sys/time.h>
+#include "util.h"
 
 
 DWORD timeGetTime()
@@ -86,8 +87,6 @@ bool sshell::exec()
 
        state = pclose(fp);
 
-       //printf("[sshell::Execute]state is %d\n", state);
-       
        return true;
 }
 
@@ -108,6 +107,7 @@ bool sshell::check_timeout(DWORD dwStartTick, int wait_mili_time)
        return false;
 }
 
+#ifndef WIN32
 void sshell::make_nonblock(FILE* fp)
 {
        int fd = fileno(fp);
@@ -115,6 +115,7 @@ void sshell::make_nonblock(FILE* fp)
        flags |= O_NONBLOCK;
        fcntl(fd, F_SETFL, flags);
 }
+#endif
 
 bool sshell::read_and_wait_str(int wait_mili_time, const char* str)
 {
@@ -125,7 +126,9 @@ bool sshell::read_and_wait_str(int wait_mili_time, const char* str)
 
        DWORD dwStartTick = timeGetTime();
 
+#ifndef WIN32
        make_nonblock(fp);
+#endif
        
        bool bResult = false;
        while (fgets(buff, sshell::MAX_LINE, m_fp) != NULL)
@@ -142,7 +145,6 @@ bool sshell::read_and_wait_str(int wait_mili_time, const char* str)
                                printf("## timeout\n");
                                break;
                        }
-                       sleep(1);
                        continue; 
                }
                else
@@ -192,7 +194,6 @@ bool sshell::exec_and_wait_str(int wait_mili_time, const char* str)
                                printf("## timeout\n");
                                break;
                        }
-                       //sleep(1);
                        printf("## continue fgets\n");
                        continue; 
                }
@@ -247,7 +248,7 @@ bool sshell::repeat_exec_and_wait_str(int wait_mili_time, const char* str)
                        break;
                }
 
-               sleep(10); // wait 10 seconds
+               ssleep(10);
 
        } while (!check_timeout(dwStartTick, wait_mili_time));
 
@@ -290,7 +291,7 @@ bool sshell::repeat_exec_and_wait_until_str_does_not_exist(int wait_mili_time, c
                        break;
                }
 
-               sleep(10); // wait 10 seconds
+               ssleep(10);
 
        } while (!check_timeout(dwStartTick, wait_mili_time));
 
index 5b9c02c..e3d0dea 100644 (file)
@@ -45,7 +45,9 @@ private:
        std::string m_cmd;
        std::string m_output;
 
+#ifndef WIN32
        void make_nonblock(FILE* fp);
+#endif
 public:
        sshell(const char* cmd);
        virtual ~sshell();
index 99abc3b..73aa00a 100644 (file)
@@ -64,7 +64,6 @@ public:
 };
 
 
-//using namespace tthread;
 
 } // end of namespace
 
index 219b6db..2cd2deb 100644 (file)
@@ -1,4 +1,12 @@
 #include "util.h"
+#include <time.h>
+
+#ifdef WIN32
+       #include <windows.h>
+#else
+       #include <unistd.h>
+#endif
+
 
 void replacetext(std::string& str, const char* szsrc, const char* szdest)
 {
@@ -33,9 +41,26 @@ void make_timestamp(std::string& ret)
         ts->tm_hour,
         ts->tm_min,
         ts->tm_sec);*/
-       
+
        //sprintf(buf, "%s", asctime(localtime(&ltime)));
        ret = buf;
 }
 
+//void util_sleep(int milisec)
+//{
+//     struct timespec req = { 0 };
+//     struct timespec rem = { 0 };
+//     req.tv_sec = (milisec / 1000);
+//     req.tv_nsec = (milisec - req.tv_sec * 1000) * 1000000;
+//     nanosleep(&req,&rem);
+//}
+
+void ssleep(int seconds)
+{
+#ifdef WIN32
+    Sleep(seconds * 1000);
+#else
+        seconds(sleepMs * 1000);
+#endif
 
+}
\ No newline at end of file
index 1bfba5c..63cbef1 100644 (file)
@@ -8,5 +8,6 @@
 
 void replacetext(std::string& str, const char* szsrc, const char* szdest);
 void make_timestamp(std::string& ret);
+void ssleep(int seconds);
 
 #endif