File: smoke-test

package info (click to toggle)
ruby-spring 2.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 428 kB
  • sloc: ruby: 3,373; sh: 9; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -ex
exec 2>&1

# Test for #921718 (gem layout expected for relative path to bin)
cd $AUTOPKGTEST_TMP
cat > Gemfile <<GEMFILE
gem "spring"
GEMFILE
mkdir -p config
echo 'puts "dummy app"' >config/application.rb
ruby -r spring/binstub -e 'puts "ok"' 2>&1