summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/process/fixtures/setpriority.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/process/fixtures/setpriority.rb')
-rw-r--r--spec/rubyspec/core/process/fixtures/setpriority.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/rubyspec/core/process/fixtures/setpriority.rb b/spec/rubyspec/core/process/fixtures/setpriority.rb
deleted file mode 100644
index cf22d85b12..0000000000
--- a/spec/rubyspec/core/process/fixtures/setpriority.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-case ARGV[0]
-when "process"
- which = Process::PRIO_PROCESS
-when "group"
- Process.setpgrp
- which = Process::PRIO_PGRP
-end
-
-priority = Process.getpriority(which, 0)
-p priority
-p Process.setpriority(which, 0, priority + 1)
-p Process.getpriority(which, 0)