File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ if $CC --version | grep clang >& /dev/null; then
33
33
echo " skipping msan test; clang version $major .$minor (older than 3.6)"
34
34
exit 0
35
35
fi
36
-
36
+
37
37
# Clang before 3.8 does not work with Linux at or after 4.1.
38
38
# golang.org/issue/12898.
39
39
if test " $major " -lt 3 || test " $major " -eq 3 -a " $minor " -lt 8; then
40
40
if test " $( uname) " = Linux; then
41
41
linuxver=$( uname -r)
42
- linuxmajor=$( echo $ver | sed -e ' s/\([0-9]*\).*/\1/' )
43
- linuxminor=$( echo $ver | sed -e ' s/[0-9]*\.\([0-9]*\).*/\1/' )
42
+ linuxmajor=$( echo $linuxver | sed -e ' s/\([0-9]*\).*/\1/' )
43
+ linuxminor=$( echo $linuxver | sed -e ' s/[0-9]*\.\([0-9]*\).*/\1/' )
44
44
if test " $linuxmajor " -gt 4 || test " $linuxmajor " -eq 4 -a " $linuxminor " -ge 1; then
45
45
echo " skipping msan test; clang version $major .$minor (older than 3.8) incompatible with linux version $linuxmajor .$linuxminor (4.1 or newer)"
46
46
exit 0
You can’t perform that action at this time.
0 commit comments