tests/test-mq.t
changeset 32940 75be14993fda
parent 32026 57042e91521a
child 33262 8e6f4939a69a
equal deleted inserted replaced
32939:cad62cb3c84c 32940:75be14993fda
  1135   $ cat > writebin.py <<EOF
  1135   $ cat > writebin.py <<EOF
  1136   > import sys
  1136   > import sys
  1137   > path = sys.argv[1]
  1137   > path = sys.argv[1]
  1138   > open(path, 'wb').write('BIN\x00ARY')
  1138   > open(path, 'wb').write('BIN\x00ARY')
  1139   > EOF
  1139   > EOF
  1140   $ python writebin.py bucephalus
  1140   $ $PYTHON writebin.py bucephalus
  1141 
  1141 
  1142   $ python "$TESTDIR/md5sum.py" bucephalus
  1142   $ $PYTHON "$TESTDIR/md5sum.py" bucephalus
  1143   8ba2a2f3e77b55d03051ff9c24ad65e7  bucephalus
  1143   8ba2a2f3e77b55d03051ff9c24ad65e7  bucephalus
  1144   $ hg add bucephalus
  1144   $ hg add bucephalus
  1145   $ hg qnew -f --git addbucephalus
  1145   $ hg qnew -f --git addbucephalus
  1146   $ grep diff .hg/patches/addbucephalus
  1146   $ grep diff .hg/patches/addbucephalus
  1147   diff --git a/bucephalus b/bucephalus
  1147   diff --git a/bucephalus b/bucephalus
  1156   [1]
  1156   [1]
  1157   $ hg qpush
  1157   $ hg qpush
  1158   applying addbucephalus
  1158   applying addbucephalus
  1159   now at: addbucephalus
  1159   now at: addbucephalus
  1160   $ test -f bucephalus
  1160   $ test -f bucephalus
  1161   $ python "$TESTDIR/md5sum.py" bucephalus
  1161   $ $PYTHON "$TESTDIR/md5sum.py" bucephalus
  1162   8ba2a2f3e77b55d03051ff9c24ad65e7  bucephalus
  1162   8ba2a2f3e77b55d03051ff9c24ad65e7  bucephalus
  1163 
  1163 
  1164 
  1164 
  1165 
  1165 
  1166 strip again
  1166 strip again