summaryrefslogtreecommitdiff
path: root/tests/010-xauth-add-inet.script
blob: 89a3321f7c47e70d6121979c39acde1825e56286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# setup the test environment inside this shell
. ${srcdir:-.}/setup-sourced

xauth add examplehost1/unix:0 MIT-MAGIC-COOKIE-1 b90b0fd1cf6a0e7a2c74c00000000001
xauth add examplehost2/unix:0 . b90b0fd1cf6a0e7a2c74c00000000002
xauth add examplehost3/unix:0 . b90b0fd1cf6a0e7a2c74c00000000003

xauth list                      
xauth nlist                     
xauth list examplehost1/unix:0  
xauth nlist examplehost2/unix:0 

xauth remove examplehost1/unix:0
xauth list                      
xauth remove examplehost2/unix:0
xauth remove examplehost3/unix:0
xauth list