Replace deprecated tcl case statements with switch statements
[deliverable/binutils-gdb.git] / ld / testsuite / ld-unique / unique.exp
index f9dd870b9a7d4dd3a5563df23c883284e9ba4f03..5457deb4ece590e1843957075defcb367f00a4c6 100644 (file)
@@ -163,8 +163,8 @@ if { $fails == 0 } {
 }
 
 # Check the empty object file.
-case $target_triplet in {
-    { hppa*-*-linux* } { set expected_none {UNIX - GNU} }
+switch -glob $target_triplet {
+    hppa*-*-linux* { set expected_none {UNIX - GNU} }
     default { set expected_none {UNIX - System V} }
 }
 if {! [check_osabi tmpdir/unique_empty.o $expected_none]} {
This page took 0.024942 seconds and 4 git commands to generate.