summaryrefslogtreecommitdiffstats
path: root/getmock
diff options
context:
space:
mode:
Diffstat (limited to 'getmock')
-rwxr-xr-xgetmock71
1 files changed, 14 insertions, 57 deletions
diff --git a/getmock b/getmock
index e695db8..c15986f 100755
--- a/getmock
+++ b/getmock
@@ -465,14 +465,12 @@ elif [ $1 = all71 ]; then
elif [ $1 = all72 ]; then
[ $opt = remi ] && opt=php72
[ $opt = test ] && opt=test72
- getOneMock el7x72 $opt '*7.2*'
getOneMock el8x72 $opt '*7.2*'
getOneMock el8a72 $opt '*7.2*'
elif [ $1 = all73 ]; then
[ $opt = remi ] && opt=php73
[ $opt = test ] && opt=test73
- getOneMock el7x73 $opt '*7.3*'
getOneMock el8x73 $opt '*7.3*'
getOneMock el8a73 $opt '*7.3*'
@@ -484,7 +482,6 @@ elif [ $1 = all74 ]; then
getOneMock fc39a74 $opt '*7.4*'
getOneMock fc40x74 $opt '*7.4*'
getOneMock fc40a74 $opt '*7.4*'
- getOneMock el7x74 $opt '*7.4*'
getOneMock el8x74 $opt '*7.4*'
getOneMock el8a74 $opt '*7.4*'
getOneMock el9x74 $opt '*7.4*'
@@ -498,7 +495,6 @@ elif [ $1 = all80 ]; then
getOneMock fc39a80 $opt '*8.0*'
getOneMock fc40x80 $opt '*8.0*'
getOneMock fc40a80 $opt '*8.0*'
- getOneMock el7x80 $opt '*8.0*'
getOneMock el8x80 $opt '*8.0*'
getOneMock el8a80 $opt '*8.0*'
getOneMock el9x80 $opt '*8.0*'
@@ -512,7 +508,6 @@ elif [ $1 = all81 ]; then
getOneMock fc39a81 $opt '*8.1*'
getOneMock fc40x81 $opt '*8.1*'
getOneMock fc40a81 $opt '*8.1*'
- getOneMock el7x81 $opt '*8.1*'
getOneMock el8x81 $opt '*8.1*'
getOneMock el8a81 $opt '*8.1*'
getOneMock el9x81 $opt '*8.1*'
@@ -526,7 +521,6 @@ elif [ $1 = all82 ]; then
getOneMock fc39a82 $opt '*8.2*'
getOneMock fc40x82 $opt '*8.2*'
getOneMock fc40a82 $opt '*8.2*'
- getOneMock el7x82 $opt '*8.2*'
getOneMock el8x82 $opt '*8.2*'
getOneMock el8a82 $opt '*8.2*'
getOneMock el9x82 $opt '*8.2*'
@@ -540,15 +534,12 @@ elif [ $1 = all83 ]; then
getOneMock fc39a83 $opt '*8.3*'
getOneMock fc40x83 $opt '*8.3*'
getOneMock fc40a83 $opt '*8.3*'
- getOneMock el7x83 $opt '*8.3*'
getOneMock el8x83 $opt '*8.3*'
getOneMock el8a83 $opt '*8.3*'
getOneMock el9x83 $opt '*8.3*'
getOneMock el9a83 $opt '*8.3*'
elif [ $1 = allr60 ]; then
- opt=remi
- getOneMock el7x $opt '*6.0*'
opt=redis60
getOneMock fc38x $opt '*6.0*'
getOneMock fc39x $opt '*6.0*'
@@ -561,8 +552,6 @@ elif [ $1 = allr60 ]; then
getOneMock el9a $opt '*6.0*'
elif [ $1 = allr62 ]; then
- opt=remi
- getOneMock el7x $opt '*6.2*'
opt=redis62
getOneMock fc38x $opt '*6.2*'
getOneMock fc39x $opt '*6.2*'
@@ -575,8 +564,6 @@ elif [ $1 = allr62 ]; then
getOneMock el9a $opt '*6.2*'
elif [ $1 = allr70 ]; then
- opt=remi
- getOneMock el7x $opt '*7.0*'
opt=redis70
getOneMock fc38x $opt '*7.0*'
getOneMock fc39x $opt '*7.0*'
@@ -589,8 +576,6 @@ elif [ $1 = allr70 ]; then
getOneMock el9a $opt '*7.0*'
elif [ $1 = allr72 ]; then
- opt=remi
- getOneMock el7x $opt '*7.2*'
opt=redis72
getOneMock fc38x $opt '*7.2*'
getOneMock fc39x $opt '*7.2*'
@@ -604,8 +589,8 @@ elif [ $1 = allr72 ]; then
elif [ $1 = allm ]; then
opt=remi
- getOneMock el7x $opt '*1.6*'
getOneMock el8x $opt '*1.6*'
+ getOneMock el8a $opt '*1.6*'
opt=memcached
getOneMock fc38x $opt '*1.6*'
getOneMock fc39x $opt '*1.6*'
@@ -615,28 +600,12 @@ elif [ $1 = allm ]; then
getOneMock el9x $opt '*1.6*'
getOneMock el9a $opt '*1.6*'
-elif [ $1 = all54 ]; then
- n=7
- getOneMock el${n}x remi '*5.4*'
-
-elif [ $1 = for56 ]; then
- for i in 7
- do
- getOneMock el${i}x test
- done
-
-elif [ $1 = for55 ]; then
- for i in 7
- do
- getOneMock el${i}x test
- done
-
elif [ $1 = allx ]; then
for i in 38 39 40
do
getOneMock fc${i}x $opt
done
- for i in 7 8 9
+ for i in 8 9
do
getOneMock el${i}x $opt
done
@@ -651,38 +620,26 @@ elif [ $1 = alla ]; then
getOneMock el${i}a $opt
done
-elif [ $1 = scl54 ]; then
- for i in 7
- do
- getOneMock scl54el${i}x $opt
- done
-
-elif [ $1 = scl55 ]; then
- for i in 7
- do
- getOneMock scl55el${i}x $opt
- done
-
elif [ $1 = scl56 ]; then
- for i in 7 8
+ for i in 8
do
getOneMock scl56el${i}x $opt
done
elif [ $1 = scl70 ]; then
- for i in 7 8
+ for i in 8
do
getOneMock scl70el${i}x $opt
done
elif [ $1 = scl71 ]; then
- for i in 7 8
+ for i in 8
do
getOneMock scl71el${i}x $opt
done
elif [ $1 = scl83 ]; then
- for i in fc38 fc39 fc40 el7 el8 el9
+ for i in fc38 fc39 fc40 el8 el9
do
getOneMock scl83${i}x $opt
done
@@ -698,7 +655,7 @@ elif [ $1 = scl82 ]; then
done
getOneMock scl82fc39a $opt
getOneMock scl82fc40a $opt
- for i in 7 8 9
+ for i in 8 9
do
getOneMock scl82el${i}x $opt
done
@@ -712,7 +669,7 @@ elif [ $1 = scl81 ]; then
done
getOneMock scl81fc39a $opt
getOneMock scl81fc40a $opt
- for i in 7 8 9
+ for i in 8 9
do
getOneMock scl81el${i}x $opt
done
@@ -726,7 +683,7 @@ elif [ $1 = scl80 ]; then
done
getOneMock scl80fc39a $opt
getOneMock scl80fc40a $opt
- for i in 7 8 9
+ for i in 8 9
do
getOneMock scl80el${i}x $opt
done
@@ -740,7 +697,7 @@ elif [ $1 = scl74 ]; then
done
getOneMock scl74fc39a $opt
getOneMock scl74fc40a $opt
- for i in 7 8 9
+ for i in 8 9
do
getOneMock scl74el${i}x $opt
done
@@ -748,14 +705,14 @@ elif [ $1 = scl74 ]; then
getOneMock scl74el9a $opt
elif [ $1 = scl73 ]; then
- for i in 7 8
+ for i in 8
do
getOneMock scl73el${i}x $opt
done
getOneMock scl73el8a $opt
elif [ $1 = scl72 ]; then
- for i in 7 8
+ for i in 8
do
getOneMock scl72el${i}x $opt
done
@@ -763,8 +720,8 @@ elif [ $1 = scl72 ]; then
elif [ $1 = allphp ]; then
LOG=$(mktemp out.XXXXXXXXXX)
- MOD="all54 all55 all56 all70 all71 all72 all73 all74 all80 all81 all82 all83"
- SCL="scl54 scl55 scl56 scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83"
+ MOD="all72 all73 all74 all80 all81 all82 all83"
+ SCL="scl56 scl70 scl71 scl72 scl73 scl74 scl80 scl81 scl82 scl83"
for i in $SCL $MOD
do $0 $opt $i | tee $LOG
if grep -q '64\.rpm' $LOG && grep -q 'Aucun' $LOG