1 #!/bin/sh 2 3 uudecode mpls-ldp-hello.puu 4 5 echo -n test mpls-ldp-hello ... 6 ../tcpdump -t -n -v -r mpls-ldp-hello.pcap >mpls-ldp-hello.new 7 if diff mpls-ldp-hello.new mpls-ldp-hello.out 8 then 9 echo passed. 10 else 11 echo failed. 12 fi 13 14 15