about summary refs log tree commit diff
path: root/Test/A02alias.ztst
blob: 74d454a8c0bae71570aee0c5e1d306dae66a2b5b (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
127:Not aliasing
?ZTST_execchunk:2: command not found: foo

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