Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LTP to version 20170116 #2335

Merged
merged 1 commit into from
Jan 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file removed data/toolchain/ltp-full-20160510.tar.xz
Binary file not shown.
Binary file added data/toolchain/ltp-full-20170116.tar.xz
Binary file not shown.
9 changes: 4 additions & 5 deletions tests/toolchain/gcc5_C_compilation.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SUSE's openQA tests
#
# Copyright © 2009-2013 Bernhard M. Wiedemann
# Copyright © 2012-2016 SUSE LLC
# Copyright © 2012-2017 SUSE LLC
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
Expand All @@ -20,8 +20,8 @@ sub run() {

# Fixes https://github.com/linux-test-project/ltp/issues/91
script_run 'wget ' . data_url('toolchain/794b46d9.patch');
script_run 'wget ' . data_url('toolchain/ltp-full-20160510.tar.xz');
script_run 'tar xJf ltp-full-20160510.tar.xz';
script_run 'wget ' . data_url('toolchain/ltp-full-20170116.tar.xz');
script_run 'tar xJf ltp-full-20170116.tar.xz';

# Some test cases do not play nicely with Btrfs. As we are testing
# syscalls and not filesystem, workaroung involving Ext4 should be OK.
Expand All @@ -30,8 +30,7 @@ sub run() {
assert_script_run 'mkdir /tmp/tmpdir';
assert_script_run 'mount /tmp/tmpdir.loop /tmp/tmpdir -o loop';

script_run 'pushd ltp-full-20160510';
script_run 'patch -p1 < ../794b46d9.patch';
script_run 'pushd ltp-full-20170116';
# workaround for missing patch https://patchwork.kernel.org/patch/8953231/ in SLES 12 SP2
# (https://github.com/linux-test-project/ltp/issues/89)
script_run "cp /proc/sys/fs/inotify/max_user_instances ~; echo 512 > /proc/sys/fs/inotify/max_user_instances";
Expand Down