You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
458 B
22 lines
458 B
#!/bin/bash
|
|
|
|
# Author: Madhurranjan Mohaan <madhurranjan.mohaan@gmail.com>
|
|
|
|
t_Log "Running $0 - testing a local subversion repository creation operation"
|
|
|
|
temp_dir="/tmp/svnrepo"
|
|
temp_repo="tmprepo"
|
|
rm -rf $temp_dir/$temp_repo
|
|
mkdir -p $temp_dir
|
|
cd $temp_dir
|
|
svnadmin create $temp_repo
|
|
|
|
#verify repo using svnadmin
|
|
if [ "svnadmin verify $temp_dir/$temp_repo | grep 'Verified revision 0'" ]
|
|
then
|
|
ret_val=0
|
|
else
|
|
ret_val=1
|
|
fi
|
|
t_CheckExitStatus $ret_val
|