Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 30 lines (24 sloc) 0.515 kb
7b03015 @mpapis test for remote
mpapis authored
1 source "$rvm_path/scripts/rvm"
2
3 : prepare
4 true TMPDIR:${TMPDIR:=/tmp}:
5 d=$TMPDIR/test-remote
6 mkdir $d
7 pushd $d
3076158 @mpapis use newer rubies for testing
mpapis authored
8 rvm use 2.1.0 --install # status=0
7b03015 @mpapis test for remote
mpapis authored
9 rvm list
3076158 @mpapis use newer rubies for testing
mpapis authored
10 # match=/ruby-2.1.0/
7b03015 @mpapis test for remote
mpapis authored
11
12 : tast packaging
3076158 @mpapis use newer rubies for testing
mpapis authored
13 rvm prepare 2.1.0 # status=0
14 [[ -f ruby-2.1.0.tar.bz2 ]] # status=0
7b03015 @mpapis test for remote
mpapis authored
15
16 : remove it
3076158 @mpapis use newer rubies for testing
mpapis authored
17 rvm remove --gems 2.1.0 # status=0
7b03015 @mpapis test for remote
mpapis authored
18 rvm list
3076158 @mpapis use newer rubies for testing
mpapis authored
19 # match!=/ruby-2.1.0/
7b03015 @mpapis test for remote
mpapis authored
20
21 : get local ruby
3076158 @mpapis use newer rubies for testing
mpapis authored
22 rvm mount -r ruby-2.1.0.tar.bz2 # status=0
7b03015 @mpapis test for remote
mpapis authored
23 rvm list
3076158 @mpapis use newer rubies for testing
mpapis authored
24 # match=/ruby-2.1.0/
25 rvm use 2.1.0 # status=0; match[stderr]=/^$/
7b03015 @mpapis test for remote
mpapis authored
26
27 : clean
28 popd
29 rm -rf $d
Something went wrong with that request. Please try again.