Forward: Already merged into upstream master.

commit 8c1cb8a3ae64984eddca99c9481670a8f7cf7b5b
Author: Zhou Mo <cdluminate@gmail.com>
Date:   Tue Aug 23 15:11:46 2016 +0000

    test: fix 32-bit system abs test failure.
    
    According to https://github.com/torch/torch7/issues/627

diff --git a/test/test.lua b/test/test.lua
index fc5228c..21df3b6 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -2921,7 +2921,12 @@ function torchtest.abs()
    end
 
    -- Checking that the right abs function is called for LongTensor
-   local bignumber = 2^31 + 1
+   local bignumber
+   if torch.LongTensor():elementSize() > 4 then
+      bignumber = 2^31 + 1
+   else
+      bignumber = 2^15 + 1
+   end
    local input = torch.LongTensor{-bignumber}
    mytester:assertgt(input:abs()[1], 0, 'torch.abs(3)')
 end
