Cross Reference: 020-xauth-add-local.script
xref: /xsrc/external/mit/xauth/dist/tests/020-xauth-add-local.script
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/xauth/dist/tests/
020-xauth-add-local.script revision 9a011757
19a011757Smrg#!/bin/bash
29a011757Smrg
39a011757Smrg# setup the test ennvironment inside this shell
49a011757Smrg. setup-sourced
59a011757Smrg
69a011757Smrg# Execute the test
79a011757Smrgxauth add unix:0              . b90b0fd1cf6a0e7a2c74c00000000004
89a011757Smrgxauth add 127.0.0.1:1         . b90b0fd1cf6a0e7a2c74c00000000005
99a011757Smrgxauth add :2                  . b90b0fd1cf6a0e7a2c74c00000000006
109a011757Smrgxauth add :3.5                . b90b0fd1cf6a0e7a2c74c00000000007
119a011757Smrgxauth add :4                  . b90b0fd1cf6a0e7a2c74c00000000004
129a011757Smrg
139a011757Smrg# List the number of entries added
149a011757Smrgxauth list | wc -l
159a011757Smrg
169a011757Smrg# Try to match them and print cookie
179a011757Smrgxauth list unix:0        | awk '{print $3}'
189a011757Smrgxauth list 127.0.0.1:1   | awk '{print $3}'
199a011757Smrgxauth list 127.0.0.1:2   | awk '{print $3}'
209a011757Smrgxauth list 127.0.0.1:3.6 | awk '{print $3}'
219a011757Smrgxauth list :4            | awk '{print $3}'
229a011757Smrg
23

Indexes created Wed Dec 03 03:09:37 GMT 2025