Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
848b5f51
Commit
848b5f51
authored
Feb 11, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4d915099
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
t/qemu-runlinux
t/qemu-runlinux
+6
-7
No files found.
t/qemu-runlinux
View file @
848b5f51
...
@@ -41,17 +41,16 @@ if [ $$ == 1 ]; then
...
@@ -41,17 +41,16 @@ if [ $$ == 1 ]; then
mount
-t
tmpfs none /run/lock
mount
-t
tmpfs none /run/lock
mount
-t
tmpfs none /tmp
mount
-t
tmpfs none /tmp
# XXX source bashrc ?
# run program in cwd in new terminal session attached to console
# FIXME "/dev/tty: No such device or address"
# (if we don't establish a session accessing /dev/tty will give "No such device or address")
test
-n
"
$CWD
"
||
qdie
"CWD=?"
test
-n
"
$CWD
"
||
qdie
"CWD=?"
cd
"
$CWD
"
cd
"
$CWD
"
test
$#
!=
0
||
qdie
"no program to run"
test
$#
!=
0
||
qdie
"no program to run"
cat
/proc/cmdline
#
cat /proc/cmdline
env
#
env
set
+e
-x
#
set +e -x
"
$@
"
# run argv[1:] passes to init
setsid
"
$@
"
<
>
/dev/ttyS0
>
&0 2>&1
# run argv[1:] passes to init
echo
"exit code:
$?
"
echo
"exit code:
$?
"
qshutdown
qshutdown
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment