Ignore:
Timestamp:
Mar 15, 2016, 3:45:16 PM (4 years ago)
Author:
raimue@…
Message:

macports1.0/tests:
Remove excessive descriptions and formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/tests/reclaim.test

    r129720 r146700  
    1414
    1515test remove_distfiles {
    16 
    17     # Regression test for remove_distfiles.
    18     #
    19     # Constraints:
    20     #               Requires root to run.
    21 
    2216    Test for distfiles being successfully removed.
    23 
    2417} -constraints {
    2518    root
    2619} -body {
    27    
    2820    set path [file join ${macports::portdbpath} distfiles]
    2921    set file [file join $path "test.txt"]
     
    3931
    4032    return "Successfully removed distfile."
    41 
    4233} -cleanup {
    4334    file delete -force $file
    44 
    4535} -result "Successfully removed distfile."
    4636
    4737test update_last_run {
    48 
    49     # Regression test for update_last_run.
    50     #
    51     # Constraints:
    52     #               Requires root to run.
    53 
    5438    Tests for last_reclaim file being updated.
    55 
    5639} -constraints {
    5740    root
    58 
    5941} -body {
    60 
    6142    set path     [file join ${macports::portdbpath} last_reclaim]
    6243
     
    8465    puts $fd $old_time
    8566    close $fd
    86 
    8767} -result "Successfully updated to the correct time."
    8868
    8969
    9070test walk_files {
    91 
    92     # Regression test for walk_files.
    93     #
    94     # Constraints:
    95     #               Require's root to run.
    96 
    9771    Tests if walking through the files, and deleting distfiles, ignoring normal files, and removing directory trees works.
    98 
    9972} -constraints {
    10073    root
    101 
    10274} -body {
    103    
    10475    set path        [file join ${macports::portdbpath} distfiles]
    10576    set dir         [file join $path tmp_dir]
     
    130101
    131102    return "Successfully deleted all files that needed to be deleted."
    132    
    133103} -cleanup {
    134104    file delete -force $dir 
    135 
    136105} -result "Successfully deleted all files that needed to be deleted."
    137106
    138107cleanupTests
    139 
Note: See TracChangeset for help on using the changeset viewer.