Changeset df3f85f in mainline for tools/gentestfile.py


Ignore:
Timestamp:
2012-05-23T12:03:26Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
692be1ae, 8ad5470, f7e69f5
Parents:
c196671 (diff), 67435b1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge GSOC-originated patches

Merge from lp:~vojtech-horky/helenos/misc.

The merge includes:

  • Switching to previous directory with `cd -' in Bdsh
  • Interactive mode for cp module in Bdsh
  • Implementation of sleep command
  • printf and echo for Bdsh
  • Rewrite of the mkdir module
  • Ctrl-arrow jumps over words in the editor
  • The scripts work with Python 3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gentestfile.py

    rc196671 rdf3f85f  
    3636
    3737if len(sys.argv) < 2:
    38         print "Usage: gentestfile.py <count of 64-bit numbers to output>"
     38        print("Usage: gentestfile.py <count of 64-bit numbers to output>")
    3939        exit()
    4040
    41 m = long(sys.argv[1])
     41m = int(sys.argv[1])
    4242i = 0
    4343pow_2_64 = 2 ** 64
Note: See TracChangeset for help on using the changeset viewer.