diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/losetup.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/losetup.test b/tests/losetup.test index 651c6933..c9292503 100755 --- a/tests/losetup.test +++ b/tests/losetup.test @@ -13,8 +13,8 @@ fi truncate -s 1M blah.img && FILE="$(readlink -f blah.img)" -DEV="$(printf '%04d' $(stat -t blah.img | awk '{print $7}'))" -NODE="$(awk '{print $7}')" +DEV="$(printf '%04s' $(stat -t blah.img | awk '{print $7}'))" +NODE="$(stat -t blah.img | awk '{print $8}')" losetup -f losetup -f -s |