aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/shell.shebang.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/shell.shebang.rb')
-rw-r--r--tests/functional/shell.shebang.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/shell.shebang.rb b/tests/functional/shell.shebang.rb
new file mode 100644
index 000000000..ea67eb09c
--- /dev/null
+++ b/tests/functional/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.")