]> sourceware.org Git - systemtap.git/commitdiff
testsuite: run avahi-browse during server startup to verify/record state
authorFrank Ch. Eigler <fche@elastic.org>
Mon, 5 Jul 2010 15:46:23 +0000 (11:46 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Mon, 5 Jul 2010 15:46:23 +0000 (11:46 -0400)
testsuite/lib/systemtap.exp

index 98cb8871b65cbb1450df25a657a9f01101904f5a..83832366b2139e6426ef5d5c1c5c0dd0fe033452 100644 (file)
@@ -151,6 +151,10 @@ proc setup_server {} {
        print "Started a systemtap server as PID==$server_pid"
     }
 
+    # See what avahi finds
+    set looksee [exec avahi-browse -a -t -r | grep -A4 {^=.*Systemtap.Compile}]
+    verbose -log "avahi-browse found:\n$looksee"
+
     # Make sure that stap can find the server.
     set lines [exec stap --server-status=online,compatible 2>@ stdout | wc -l]
     if {$lines < 2} then {
This page took 0.029877 seconds and 5 git commands to generate.