test-xml
authorSamuel Thibault <sthibault@debian.org>
Tue, 17 Jul 2018 00:51:28 +0000 (01:51 +0100)
committerSamuel Thibault <sthibault@debian.org>
Tue, 17 Jul 2018 00:51:28 +0000 (01:51 +0100)
commit 42caecaddcfd08eb67fd7314b5fe70f7f8a87acf
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jul 16 22:28:11 2018 +0200

    Fix testing non-xml export

    lstopo wouldn't overwrite existing file

Gbp-Pq: Name test-xml

utils/lstopo/test-hwloc-ls.sh.in

index 02c83ea242b09ec364cf34d6983c1cadb602ef9d..7d9d65bcb64512770107845ee33a34f33f7c5b55 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # Copyright © 2009 CNRS
 # Copyright © 2009-2017 Inria.  All rights reserved.
-# Copyright © 2009, 2011 Université Bordeaux
+# Copyright © 2009, 2011, 2018 Université Bordeaux
 # See COPYING in top-level directory.
 #
 
@@ -48,7 +48,7 @@ $ls
   $ls $tmp/test.txt
   $ls $tmp/test.fig
   $ls $tmp/test.xml
-  HWLOC_LIBXML_EXPORT=0 $ls $tmp/test.xml
+  HWLOC_LIBXML_EXPORT=0 $ls $tmp/test.mini.xml
   $ls --input "ma:1 no:2 so:1 ca:2 2" $tmp/test.synthetic
 ) > "$file"
 diff @HWLOC_DIFF_U@ $HWLOC_top_srcdir/utils/lstopo/test-hwloc-ls.output "$file"