]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex-capture_and_apply
test-imagex-capture_and_apply: Use C locale for parsing float
[wimlib] / tests / test-imagex-capture_and_apply
index 5de3b0e20de5e35555977a83cb72ad5e1c07fefb..d4333486d13ad09f3d27b1d0984bb9becd3d18f5 100755 (executable)
@@ -53,7 +53,10 @@ do_test() {
 
                # Can we split the WIM, apply the split WIM, join the split WIM,
                # and apply the joined WIM, and get the same results every time?
-               if ! imagex split test.wim test.swm 0.01; then
+               #
+               # LC_ALL=C avoids locale-dependent floating point number
+               # parsing.
+               if ! LC_ALL=C imagex split test.wim test.swm 0.01; then
                        error "Failed to split WIM"
                fi
                if ! imagex apply test.swm 1 out.dir --ref "test*.swm" ; then