summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Delacour <gui@iroqwa.org>2015-06-29 21:21:17 +0000
committerGuillaume Delacour <gui@iroqwa.org>2015-06-29 21:21:17 +0000
commit28809faae4da171e2a2472817e516cef5e850d24 (patch)
tree98804498ea5cb9b8553671ecbef8ede238e64008
parent42166485c5c68b868be0a41fe17f198da4ac8f22 (diff)
downloadsgdisk-28809faae4da171e2a2472817e516cef5e850d24.tar.gz
Redirect dd output stderr and fails some Debian tests (DEP8 look at stderr lines)
-rwxr-xr-xgdisk_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdisk_test.sh b/gdisk_test.sh
index 86c36fc..3cc60ff 100755
--- a/gdisk_test.sh
+++ b/gdisk_test.sh
@@ -354,7 +354,7 @@ EOF
###################################
# create a file to simulate a real device
-dd if=/dev/zero of=$TEMP_DISK bs=1024 count=$TEMP_DISK_SIZE
+dd if=/dev/zero of=$TEMP_DISK bs=1024 count=$TEMP_DISK_SIZE > /dev/null 2>&1
if [ -s $TEMP_DISK ]
then