aboutsummaryrefslogtreecommitdiff
path: root/Test/02alias.ztst
blob: 03c0a6cc16383805f0beda51a0e80dc7a8ae06db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%prep
  alias foo=echo

  alias -g bar=echo

  alias '\bar=echo'

%test
  foo foo
0:Basic aliasing
>foo

  bar bar
0:Global aliasing
>echo

  \foo foo
1:Not aliasing
?ZTST_execchunk:2: command not found: foo

  \bar \bar
0:Aliasing with a backslash
>bar