Fix gta-create.sh test for locales that cannot parse the numbers that are used.
authorTim Landscheidt <tim@tim-landscheidt.de>
Sun, 17 Mar 2019 08:46:30 +0000 (09:46 +0100)
committerMartin Lambers <marlam@marlam.de>
Sun, 17 Mar 2019 08:46:30 +0000 (09:46 +0100)
gtatool/tests/gta-create.sh

index f052977..fd54700 100755 (executable)
@@ -17,7 +17,7 @@ $GTA create -d 10,10,10 \
        -c blob256,int8,uint8,int16,uint16,int32,uint32,int64,uint64,int128,uint128,float32,float64,float128,cfloat32,cfloat64,cfloat128 \
        -n 2 "$TMPD"/a.gta
 
-$GTA create -d 10 \
+LC_NUMERIC=C $GTA create -d 10 \
        -c  blob256,int8,uint8,int16,uint16,int32,uint32,int64,uint64,float32,float64,cfloat32,cfloat64 \
        -v "      0,   1,    2,    3,     4,    5,     6,    7,     8,    0.1,    0.2, 0.3,0.4, 0.5,0.6" \
        > "$TMPD"/b.gta