Browse code

distrib-compat: rc.status: lower case for output

Change-Id: Ibf01ade2629ac33be15ce4b17c85dffa6cd0d183
Reviewed-on: http://photon-jenkins.eng.vmware.com/200
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George

Alexey Makhalov authored on 2015/12/02 10:05:06
Showing 2 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Set of scripts and tools to get compatbility with other distributions.
2 2
 Name:		distrib-compat
3 3
 Version:	0.1
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	GPLv2
6 6
 URL:		http://photon.org
7 7
 Group:		System Environment/Base
... ...
@@ -26,6 +26,8 @@ install -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}
26 26
 %{_sysconfdir}/*
27 27
 /sbin/*
28 28
 %changelog
29
+*	Tue Dec 1 2015 Alexey Makhalov <amakhalov@vmware.com> 0.1-3
30
+-	rc.status lower case for msg_* output.
29 31
 *	Mon Nov 30 2015 Alexey Makhalov <amakhalov@vmware.com> 0.1-2
30 32
 -	rc_status() enhancements.
31 33
 *	Mon Nov 16 2015 Alexey Makhalov <amakhalov@vmware.com> 0.1-1
... ...
@@ -55,14 +55,14 @@ rc_status_overall=0
55 55
 # eopt="-e"
56 56
 
57 57
 # output messages
58
-msg_done="DONE"
59
-msg_failed="FAILED"
60
-msg_missed="MISSED"
61
-msg_skipped="SKIPPED"
62
-msg_unused="UNUSED"
63
-msg_running="RUNNING"
64
-msg_dead="DEAD"
65
-msg_unknown="UNKNOWN"
58
+msg_done="done"
59
+msg_failed="failed"
60
+msg_missed="missed"
61
+msg_skipped="skipped"
62
+msg_unused="unused"
63
+msg_running="running"
64
+msg_dead="dead"
65
+msg_unknown="unknown"
66 66
 
67 67
 # parent cmd
68 68
 rc_action=$1