Changeset 62
- Timestamp:
- 12/30/05 22:58:27 (5 years ago)
- Files:
-
- antsvk/trunk/testsuite.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
antsvk/trunk/testsuite.sh
r61 r62 23 23 # This repos will be used to demonstrate mirror/push/pull etc. 24 24 TESTREMOTEREPOS="$TESTSUITEDIR/testremote" 25 # The Port of the repos 26 TESTSUITEPORT=6544 27 # The Host of the repos 28 TESTSUITEHOST=localhost 29 # The combination 30 REPOS=svn://$TESTSUITEHOST:$TESTSUITEPORT 31 # 25 32 # Start Test Suite in Ant Build file 26 33 #ant -f build.xml testsvk … … 41 48 # Use --foreground to prevent going into background. 42 49 # We use & instead of the shell to get the PID of the process. 43 svnserve --foreground -d --listen-port 6544 --listen-host localhost -r $TESTREMOTEREPOS & 50 svnserve \ 51 --foreground \ 52 -d \ 53 --listen-port $TESTSUITEPORT \ 54 --listen-host $TESTSUITEHOST \ 55 -r $TESTREMOTEREPOS & 44 56 # 45 57 # Get the PID of the started process. … … 50 62 # will be served by the svn server. 51 63 # 52 svn list svn://localhost:654464 svn list $REPOS 53 65 # Create a directory 54 svn mkdir svn://localhost:6544/test -m"- Created test project" 55 # Import directory structure 56 svn import . svn://localhost:6544/antsvk/trunk -m"- Import of project" 66 svn mkdir $REPOS/test -m"- Created test project" 67 # 68 # Import a directory structure 69 svn import . $REPOS/antsvk/trunk -m"- Import of project" 57 70 # 58 71 # Create mirror of Subversion... 59 svk mirror svn://localhost:6544/antsvk/trunk //antsvk/trunk72 svk mirror $REPOS/antsvk/trunk //antsvk/trunk 60 73 # 61 74 svk mirror --list … … 65 78 svk checkout --list 66 79 # 67 # This should work with SVK as well....68 # This might be a scenario for testing push/pull/mirror etc.69 80 # 70 # Just wait a little bit... 81 # Just wait a little bit...to calm down everything... 71 82 sleep 1s 72 83 #
