diff options
author | Phillip Susi <psusi@ubuntu.com> | 2014-07-27 15:03:23 -0400 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-07-27 15:03:23 -0400 |
commit | 341ead99d2da51c3fc1827a7ab5701f8859318ef (patch) | |
tree | 0162b47b2a72d24ed4ec367f90b8ab6ad429f2e0 | |
parent | 081ed98dabfd1d857139c71fd6a74f8898dd9dcb (diff) | |
download | parted-341ead99d2da51c3fc1827a7ab5701f8859318ef.tar.gz |
tests: don't require en_US locale in t0251-gpt-unicode.sh
Switch from en_US.UTF-8 to C.UTF-8 so the test does not fail on systems
that do not have the en_US locale installed.
-rwxr-xr-x | tests/t0251-gpt-unicode.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0251-gpt-unicode.sh b/tests/t0251-gpt-unicode.sh index d2d24ff..c845950 100755 --- a/tests/t0251-gpt-unicode.sh +++ b/tests/t0251-gpt-unicode.sh @@ -22,7 +22,7 @@ dev=loop-file # create zeroed device truncate -s 10m $dev || fail=1 -export LC_ALL=en_US.UTF-8 +export LC_ALL=C.UTF-8 # create gpt label with named partition part_name=$(printf 'foo\341\264\244') parted -s $dev mklabel gpt mkpart primary ext2 1MiB 2MiB name 1 $part_name > empty 2>&1 || fail=1 |