Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove absolute path from xbt-log tesh
authorPaul Bédaride <paul.bedaride@gmail.com>
Tue, 29 Apr 2014 15:41:30 +0000 (17:41 +0200)
committerPaul Bédaride <paul.bedaride@gmail.com>
Tue, 29 Apr 2014 15:42:01 +0000 (17:42 +0200)
teshsuite/xbt/log_usage/log_usage.tesh

index 22f4b30..1df8cbb 100644 (file)
@@ -1,21 +1,21 @@
 #! ./tesh
 
 #! ./tesh
 
-$ $SG_TEST_EXENV ${bindir:=.}/log_usage
-> [0.000000] [test/INFO] Test with the settings ''
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:28: [test/WARNING] val=2
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:30: [test/CRITICAL] false alarm!
-> [0.000000] [test/INFO] Test with the settings ' '
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:28: [test/WARNING] val=2
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:30: [test/CRITICAL] false alarm!
-> [0.000000] [test/INFO] Test with the settings ' test.thres:info root.thres:info  '
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:28: [test/WARNING] val=2
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:30: [test/CRITICAL] false alarm!
-> [0.000000] [test/INFO] Test with the settings ' test.thres:debug '
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:27: [test/DEBUG] val=1
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:28: [test/WARNING] val=2
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:30: [test/CRITICAL] false alarm!
-> [0.000000] [test/INFO] Test with the settings ' test.thres:verbose root.thres:error '
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:28: [test/WARNING] val=2
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:30: [test/CRITICAL] false alarm!
-> [0.000000] [test/INFO] Test with the settings ' test.thres:critical '
-> [0.000000] /home/bedaride/Boulot/simgrid/teshsuite/xbt/log_usage/log_usage.c:30: [test/CRITICAL] false alarm!
+$ $SG_TEST_EXENV ${bindir:=.}/log_usage "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
+> [  0.000000] [0:@] Test with the settings ''
+> [  0.000000] [0:@] val=2
+> [  0.000000] [0:@] false alarm!
+> [  0.000000] [0:@] Test with the settings ' '
+> [  0.000000] [0:@] val=2
+> [  0.000000] [0:@] false alarm!
+> [  0.000000] [0:@] Test with the settings ' test.thres:info root.thres:info  '
+> [  0.000000] [0:@] val=2
+> [  0.000000] [0:@] false alarm!
+> [  0.000000] [0:@] Test with the settings ' test.thres:debug '
+> [  0.000000] [0:@] val=1
+> [  0.000000] [0:@] val=2
+> [  0.000000] [0:@] false alarm!
+> [  0.000000] [0:@] Test with the settings ' test.thres:verbose root.thres:error '
+> [  0.000000] [0:@] val=2
+> [  0.000000] [0:@] false alarm!
+> [  0.000000] [0:@] Test with the settings ' test.thres:critical '
+> [  0.000000] [0:@] false alarm!