mce-test: Don't depend on /etc/issue

Some OS such as Clear Linux has no /etc/issue. Print /etc/os-release
instead of /etc/issue.

Signed-off-by: Dezhu Zhang <dezhux.zhang@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
diff --git a/cases/function/apei-inj/apei-inject.sh b/cases/function/apei-inj/apei-inject.sh
index 69084c2..758cef4 100755
--- a/cases/function/apei-inj/apei-inject.sh
+++ b/cases/function/apei-inj/apei-inject.sh
@@ -36,7 +36,7 @@
 
 	echo -e "<<< OS/kernel version is as follows >>>\n" >> $LOG
 	uname -a >> $LOG
-	cat /etc/issue >> $LOG
+	cat /etc/os-release >> $LOG
 	echo -e "\n<<< dmesg information is as follows >>>\n" >> $LOG
 	while [ $time -lt $timeout ]
 	do
diff --git a/cases/function/einj-ext/einj-ext.sh b/cases/function/einj-ext/einj-ext.sh
index 5ced964..f586415 100755
--- a/cases/function/einj-ext/einj-ext.sh
+++ b/cases/function/einj-ext/einj-ext.sh
@@ -68,7 +68,7 @@
 
 	echo -e "Current OS/kernel version as follows:\n" >> $LOG
 	uname -a >> $LOG
-	cat /etc/issue >> $LOG
+	cat /etc/os-release >> $LOG
 	echo -e "\ndmesg information as follows:\n" >> $LOG
 	while [ $time -lt $timeout ]
 	do
diff --git a/cases/function/emca-inj/emca-inject.sh b/cases/function/emca-inj/emca-inject.sh
index 5f21115..3141825 100755
--- a/cases/function/emca-inj/emca-inject.sh
+++ b/cases/function/emca-inj/emca-inject.sh
@@ -36,7 +36,7 @@
 
 	echo -e "<<< kernel version is as below >>>\n" >> $LOG
 	uname -a >> $LOG
-	cat /etc/issue >> $LOG
+	cat /etc/os-release >> $LOG
 	echo -e "\n<<< dmesg is as below >>>\n" >> $LOG
 	while [ $time -lt $timeout ]
 	do