-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbashrc.sls
executable file
·36 lines (30 loc) · 1.17 KB
/
bashrc.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
########## REAL TIME CHECK.ALL STATUS ##########
# show check.all result when there is failure
PROMPT_COMMAND="grep -q 'FAIL' /tmp/do.focus.all/check/* &>/dev/null && { echo '{*!* check.all failures, fix ASAP and then rerun check.all *!*}'; grep -h 'FAIL' /tmp/do.focus.all/check/* 2>/dev/null; }"
#*************************************************
#Standard LTP Environment variables
#*************************************************
export TST_USE_SSH=ssh
export LTP_TIMEOUT_MUL=40
export TST_DISABLE_APPARMOR=1
export LTP_RSH=ssh
export LTPROOT=/opt/ltp
export PS1='\[\e[31m\]\u@\h:\w\[\e[0m\] '
#*******************************************************
#Advance LTP Environment variables. For expert users only
#*******************************************************
#export NS_DURATION
#export CONNECTION_TOTAL
#*************************************************
#Export appropriate PATH
#*************************************************
export PATH=$PATH:/opt/ltp:/opt/ltp/testcases/bin:/opt/ltp/testscripts