aboutsummaryrefslogtreecommitdiff
path: root/spec/quick/build.q
diff options
context:
space:
mode:
Diffstat (limited to 'spec/quick/build.q')
-rw-r--r--spec/quick/build.q35
1 files changed, 28 insertions, 7 deletions
diff --git a/spec/quick/build.q b/spec/quick/build.q
index ee519adf..55bb7519 100644
--- a/spec/quick/build.q
+++ b/spec/quick/build.q
@@ -83,8 +83,15 @@ RUN: luarocks build --tree=/usr ./a_rock-1.0.1-rockspec
83EXIT: 4 83EXIT: 4
84STDERR: 84STDERR:
85-------------------------------------------------------------------------------- 85--------------------------------------------------------------------------------
86requires exclusive access 86requires exclusive write access
87use --force-lock 87--------------------------------------------------------------------------------
88
89We show the OS permission denied error, so we don't show the --force-lock
90message.
91
92NOT_STDERR:
93--------------------------------------------------------------------------------
94try --force-lock
88-------------------------------------------------------------------------------- 95--------------------------------------------------------------------------------
89 96
90NOT_EXISTS: %{testing_sys_rocks}/a_rock/1.0-1/a_rock-1.0-1.rockspec 97NOT_EXISTS: %{testing_sys_rocks}/a_rock/1.0-1/a_rock-1.0-1.rockspec
@@ -93,8 +100,15 @@ RUN: luarocks build --tree=/usr ./a_rock-1.0.1-rockspec --force-lock
93EXIT: 4 100EXIT: 4
94STDERR: 101STDERR:
95-------------------------------------------------------------------------------- 102--------------------------------------------------------------------------------
96requires exclusive access 103requires exclusive write access
97failed to force the lock 104--------------------------------------------------------------------------------
105
106We show the OS permission denied error, so we don't show the --force-lock
107message.
108
109NOT_STDERR:
110--------------------------------------------------------------------------------
111try --force-lock
98-------------------------------------------------------------------------------- 112--------------------------------------------------------------------------------
99 113
100NOT_EXISTS: %{testing_sys_rocks}/a_rock/1.0-1/a_rock-1.0-1.rockspec 114NOT_EXISTS: %{testing_sys_rocks}/a_rock/1.0-1/a_rock-1.0-1.rockspec
@@ -108,8 +122,15 @@ RUN: luarocks build --tree=/usr/invalid ./a_rock-1.0.1-rockspec
108EXIT: 4 122EXIT: 4
109STDERR: 123STDERR:
110-------------------------------------------------------------------------------- 124--------------------------------------------------------------------------------
111requires exclusive access 125requires exclusive write access
112use --force-lock 126--------------------------------------------------------------------------------
127
128We show the OS permission denied error, so we don't show the --force-lock
129message.
130
131NOT_STDERR:
132--------------------------------------------------------------------------------
133try --force-lock
113-------------------------------------------------------------------------------- 134--------------------------------------------------------------------------------
114 135
115NOT_EXISTS: %{testing_sys_rocks}/a_rock/1.0-1/a_rock-1.0-1.rockspec 136NOT_EXISTS: %{testing_sys_rocks}/a_rock/1.0-1/a_rock-1.0-1.rockspec
@@ -118,7 +139,7 @@ RUN: luarocks build --tree=/usr/invalid ./a_rock-1.0.1-rockspec --force-lock
118EXIT: 4 139EXIT: 4
119STDERR: 140STDERR:
120-------------------------------------------------------------------------------- 141--------------------------------------------------------------------------------
121requires exclusive access 142requires exclusive write access
122failed to force the lock 143failed to force the lock
123-------------------------------------------------------------------------------- 144--------------------------------------------------------------------------------
124 145