about summary refs log tree commit diff
path: root/tests/shell.shebang.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell.shebang.rb')
-rw-r--r--tests/shell.shebang.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell.shebang.rb b/tests/shell.shebang.rb
new file mode 100644
index 000000000000..ea67eb09c1c6
--- /dev/null
+++ b/tests/shell.shebang.rb
@@ -0,0 +1,7 @@
+#! @SHELL_PROG@
+#! ruby
+#! nix-shell -I nixpkgs=shell.nix --no-substitute
+#! nix-shell --pure -p ruby -i ruby
+
+# Contents doesn't matter.
+abort("This shouldn't be executed.")