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

# setup the test ennvironment inside this shell
. 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