* lib/gas-defs.exp (run_dump_test): Don't set LC_ALL here.
authorAlan Modra <amodra@gmail.com>
Tue, 8 May 2012 12:15:06 +0000 (12:15 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 8 May 2012 12:15:06 +0000 (12:15 +0000)
gas/testsuite/ChangeLog
gas/testsuite/lib/gas-defs.exp

index 0fd88fe..e9c7bc7 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-08  Alan Modra  <amodra@gmail.com>
+
+       * lib/gas-defs.exp (run_dump_test): Don't set LC_ALL here.
+
 2012-05-06  Arnold Metselaar  <arnold_m@operamail.com>
 
        * gas/z80/jr-forwf.s: New file, adapted from z8k version.
index 9d89a2e..234789a 100644 (file)
@@ -738,19 +738,9 @@ proc run_dump_test { name {extra_options {}} } {
        set redir ""
     }
 
-    # Ensure consistent sorting of symbols
-    if {[info exists env(LC_ALL)]} {
-       set old_lc_all $env(LC_ALL)
-    }
-    set env(LC_ALL) "C"
     send_log "$cmd\n"
     set status [gas_host_run "$cmd" "$redir"]
     set comp_output [prune_warnings [lindex $status 1]]
-    if {[info exists old_lc_all]} {
-       set env(LC_ALL) $old_lc_all
-    } else {
-       unset env(LC_ALL)
-    }
     set comp_output [prune_warnings $comp_output]
     if ![string match "" $comp_output] then {
        send_log "$comp_output\n"