]> sourceware.org Git - systemtap.git/commitdiff
PR 11373: Cleanup residual stap_*.ko modules when shutting down the compile-server.
authorDave Brolley <brolley@redhat.com>
Tue, 13 Jul 2010 19:48:13 +0000 (15:48 -0400)
committerDave Brolley <brolley@redhat.com>
Tue, 13 Jul 2010 19:48:13 +0000 (15:48 -0400)
testsuite/lib/systemtap.exp

index b71fdb68ccd4267055404df4f340cab1fd540938..71d17f8e65a5303a38abff3c0e244bd3a97a67cf 100644 (file)
@@ -192,6 +192,10 @@ proc shutdown_server {} {
     if [file exists $net_path] {
        exec /bin/rm -fr $net_path
     }
+
+    foreach module [glob -nocomplain [exec pwd]/stap_*.ko] {
+       exec /bin/rm -f $module
+    }
 }
 
 proc get_system_info {} {
This page took 0.024292 seconds and 5 git commands to generate.