summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/fixtures/argv0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/process/fixtures/argv0.rb')
-rw-r--r--spec/ruby/core/process/fixtures/argv0.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/ruby/core/process/fixtures/argv0.rb b/spec/ruby/core/process/fixtures/argv0.rb
new file mode 100644
index 0000000000..847a3e903e
--- /dev/null
+++ b/spec/ruby/core/process/fixtures/argv0.rb
@@ -0,0 +1,6 @@
+puts Process.argv0
+puts __FILE__
+
+if Process.argv0 == __FILE__
+ print "OK"
+end