Bladeren bron

Moved grower.py test script to Superlance.

Mike Naberezny 16 jaren geleden
bovenliggende
commit
8aad4d722b
1 gewijzigde bestanden met toevoegingen van 0 en 26 verwijderingen
  1. 0 26
      src/supervisor/scripts/grower.py

+ 0 - 26
src/supervisor/scripts/grower.py

@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-##############################################################################
-#
-# Copyright (c) 2007 Agendaless Consulting and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the BSD-like license at
-# http://www.repoze.org/LICENSE.txt.  A copy of the license should accompany
-# this distribution.  THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL
-# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
-# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
-# FITNESS FOR A PARTICULAR PURPOSE
-#
-##############################################################################
-
-# A process which leaks 1MB per second on purpose so we can test the
-# memmon killer
-
-import time
-L = []
-M = pow(2, 20)
-
-while 1:
-    L.append('x'*M)
-    time.sleep(1)
-