diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-19 15:48:21 +0100 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-19 15:52:41 +0100 |
commit | 278d5115470919319c514ea37d7b14e3f7d0580b (patch) | |
tree | ab9da0d3bae2a54938870df28f3e67bb5297f204 /test/TEST-01-BASIC/test.sh | |
parent | Merge pull request #1958 from teg/networkd-fixes (diff) | |
download | systemd-278d5115470919319c514ea37d7b14e3f7d0580b.tar.xz systemd-278d5115470919319c514ea37d7b14e3f7d0580b.zip |
tests: fix ls: cannot access /var/tmp/systemd-test.*/journal/*/*.journal
don't lose logs from the test machine too
Diffstat (limited to 'test/TEST-01-BASIC/test.sh')
-rwxr-xr-x | test/TEST-01-BASIC/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index b6b474393d..f93ea934fb 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -11,7 +11,7 @@ check_result_qemu() { mount ${LOOPDEV}p1 $TESTDIR/root [[ -e $TESTDIR/root/testok ]] && ret=0 [[ -f $TESTDIR/root/failed ]] && cp -a $TESTDIR/root/failed $TESTDIR - [[ -f $TESTDIR/root/var/log/journal ]] && cp -a $TESTDIR/root/var/log/journal $TESTDIR + cp -a $TESTDIR/root/var/log/journal $TESTDIR umount $TESTDIR/root [[ -f $TESTDIR/failed ]] && cat $TESTDIR/failed ls -l $TESTDIR/journal/*/*.journal |