~ubuntu-branches/ubuntu/utopic/gdisk/utopic-proposed

« back to all changes in this revision

Viewing changes to gdisk_test.sh

  • Committer: Package Import Robot
  • Author(s): Guillaume Delacour
  • Date: 2012-03-21 23:18:43 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120321231843-0uep1rjni0ajtsda
Tags: 0.8.2-1
* New upstream release
* debian/patches/manpages.diff:
  + Edit header with DEP3 format
  + Refresh original patch (as version has changed in the manpage)
  + Add an escape on single quote
  + Fix a minor typo (Closes: #651379)
* debian/patches/eof_stdin.diff: avoid infinite loop when ^D in gdisk,
  thanks Gianluigi Tiesi (Closes: #660815)
* debian/control:
  + Remove unnecessary "for" in long description
  (Closes: #644537)
  + Update Depends on debhelper v9
  + Bump to Standards-Version 3.9.3 (no changes needed)
* debian/compat: Update compat to version 9
* debian/copyright: Update url format

Show diffs side-by-side

added added

removed removed

Lines of Context:
338
338
        echo ""
339
339
}
340
340
 
 
341
#####################################
 
342
# Test stdin EOF
 
343
#####################################
 
344
eof_stdin() {
 
345
        $SGDISK_BIN $TEMP_DISK << EOF
 
346
^D
 
347
EOF
 
348
        pretty_print "SUCCESS" "EOF successfully exit gdisk"
 
349
}
341
350
 
342
351
###################################
343
352
# Main
369
378
        restore_table         # only with gdisk
370
379
        change_disk_uid       "$binary"
371
380
        wipe_table            "$binary"
 
381
        eof_stdin             # only with gdisk
372
382
done
373
383
 
374
384
# remove temp files