OpenSecurity/test/browser.bat
author om
Tue, 10 Dec 2013 14:05:32 +0100
changeset 32 1505c94059ab
permissions -rw-r--r--
forget to commit browser batch
om@32
     1
@echo off
om@32
     2
rem get up a browsing VM
om@32
     3
for /F %%A in ('..\cygwin\bin\curl --get http://127.0.0.1:8080/browsing') do SET VM_NAME=%%A
om@32
     4
rem construct proper URL
om@32
     5
set "URL=http://127.0.0.1:8080/sdvms/%VM_NAME%/application/usr/bin/iceweasel"
om@32
     6
echo "Calling:" %URL%
om@32
     7
..\cygwin\bin\curl --get %URL%